Function countArgs

  • Counts meaningful arguments passed to function.

    Ignores trailing undefined values.

    Parameters

    • args: ArrayLike<unknown>

      Function call arguments tuple.

    Returns number

    The number of arguments, except for the trailing undefined values.

Generated using TypeDoc