Function isTypedArray

  • Checks if value is classified as a typed array.

    Parameters

    • value: any

      The value to check.

    Returns boolean

    Returns true if value is a typed array, else false.

    5.5.0

    isTypedArray(new Uint8Array)
    // => true

    isTypedArray([])
    // => false