_.isArrayBuffer

_.isArrayBuffer(value)

Checks if value is classified as an ArrayBuffer object.

Since

4.3.0

Arguments

  1. value (*): The value to check.

Returns

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

Example

_.isArrayBuffer(new ArrayBuffer(2));
// => true
 
_.isArrayBuffer(new Array(2));
// => false
doc_Lodash
2016-11-27 16:37:51
Comments
Leave a Comment

Please login to continue.