MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / isTypedArray

Function isTypedArray

lib/web/jshint.js:10430–10432  ·  view source on GitHub ↗

* Checks if `value` is classified as a typed array. * * @static * @memberOf _ * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. * @example * * _.isTypedArray(new U

(value)

Source from the content-addressed store, hash-verified

10428 * // => false
10429 */
10430 function isTypedArray(value) {
10431 return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];
10432 }
10433
10434 /**
10435 * Checks if `value` is `undefined`.

Callers 4

baseIsEqualDeepFunction · 0.85
baseMergeFunction · 0.85
baseMergeDeepFunction · 0.85
transformFunction · 0.85

Calls 3

isObjectLikeFunction · 0.85
isLengthFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected