Function isArray

  • Type Parameters

    • T

    Parameters

    • value: unknown

      value to check.

    • Optional every: ((value) => unknown)

      optional predicate ran on every element of the array.

        • (value): unknown
        • Parameters

          • value: unknown

          Returns unknown

    • Optional thisArg: unknown

      value to substitute this with when invoking in the predicate.

    Returns value is T[]

    whether or not value is an array.