Function isArray

  • Checks if an argument is an array. Applies type narrowing in typescript.

    Parameters

    • arg: unknown

      argument to check

    Returns arg is any[]

    true if argument is an array

Generated using TypeDoc