_.isArrayBuffer(value)

sourcenpm package

Checks if value is classified as an ArrayBuffer object.

Since

4.3.0

Arguments

  • value (*): The value to check.

Returns

(boolean): Returns true if value is an array buffer, else false.

Example

  1. _.isArrayBuffer(new ArrayBuffer(2));
    // => true
    _.isArrayBuffer(new Array(2));
    // => false