Function isArrayBuffer

  • Checks if value is an ArrayBuffer object.

    Parameters

    • value: unknown

    Returns value is ArrayBuffer

    Since

    1.0.0

    Example

    isArrayBuffer(new ArrayBuffer(2));
    // => true

    Example

    isArrayBuffer(new Array(2));
    // => false