• Checks if array is an array and its elements are typeof of type

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to check.

    • type:
          | "string"
          | "number"
          | "bigint"
          | "boolean"
          | "symbol"
          | "undefined"
          | "object"
          | "function"

      The type to check the elements' type against.

    Returns boolean

    Whether the array is an array and its elements are typeof of type.

MMNEPVFCICPMFPCPTTAAATR