The expected type of the function to be returned.
The module to search within. This can be any object or structure containing functions.
The pattern to match the function's source code.
The first function that matches the given pattern, or undefined
if no match is found.
Retrieves a function from a module by searching its source code for a specific match.