Function bind_self

  • Parameters

    • func: any

    Returns any

    Stability

    4 - locked

    Binds a function's this value to itself.

    This is useful for creating callable objects where this refers to the callable object itself.

Generated using TypeDoc