_.isTypedArray

_.isTypedArray(value)

Checks if value is classified as a typed array.

Since

3.0.0

Arguments

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

Returns

(boolean): Returns true if value is a typed array, else false.

Example

_.isTypedArray(new Uint8Array);
// => true
 
_.isTypedArray([]);
// => false
doc_Lodash
2016-11-27 16:38:33
Comments
Leave a Comment

Please login to continue.