Function restrictOnce

  • Restrict a function to be used only once.

    Parameters

    • x: Function

      a function

    Returns Function

    (...args) => x(...args) from [0:1] calls

Generated using TypeDoc