Search for a function within a module by its source code. Returns the key of the function.
The module to search.
The string or regex to match against the function's source code.
Useful for getting the prop name to inject into.
Search for a function within a module by its source code. Returns the key of the function.