isTypedArray

Lang
since 3.0.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a typed array, else `false`.

Checks if value is classified as a typed array.

Example of Lodash _.isTypedArray

_.isTypedArray(new Uint8Array);
// => true

_.isTypedArray([]);
// => false