Function decontextify

  • Decontextify a function by accepting this-object as the first argument. 📘

    Parameters

    • x: Function

      a function

    Returns Function

    (this, ...args) => this.x(...args)

Generated using TypeDoc