Is it possible to inherit pre-request script from parent in postman?

Hey community,
I’m writing a pre-request script on collection level and i need to override a function which has different functionality on the individual request level within same collection. Is there any way so that i access request level pre-request script function in collection pre-request level.

Is any way i can use module.export or something else ?