MCPcopy Create free account
hub / github.com/deployd/deployd / baseIsTypedArray

Function baseIsTypedArray

test-app/public/sinon.js:14077–14080  ·  view source on GitHub ↗

* The base implementation of `_.isTypedArray` without Node.js optimizations. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.

(value)

Source from the content-addressed store, hash-verified

14075 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
14076 */
14077 function baseIsTypedArray(value) {
14078 return isObjectLike(value) &&
14079 isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
14080 }
14081
14082 /**
14083 * The base implementation of `_.iteratee`.

Callers

nothing calls this directly

Calls 3

isObjectLikeFunction · 0.85
isLengthFunction · 0.85
baseGetTagFunction · 0.85

Tested by

no test coverage detected