Function fromInvocation

  • Generate array from repeated function invocation.

    Type Parameters

    • T

    Parameters

    • fn: Function

      function

    • n: number

      number of values

    Returns T[]

    [fn(), fn(), ...]

Generated using TypeDoc