Function getFunctionBySource

  • Search for a function within a module by its source code.

    Type Parameters

    • F

    Parameters

    • module: unknown

      The module to search.

    • match: string | RegExp | ((func) => boolean)

      The string or regex to match against the function's source code.

    Returns F | undefined

Generated using TypeDoc