• Assigns the name of a function derived from the left-hand side of an assignment.

    Parameters

    • f: Function

      The function to rename.

    • name: string | symbol

      The new name for the function.

    • Optional prefix: string

      A prefix (such as "get" or "set") to insert before the name.

    Returns Function

Generated using TypeDoc