MCPcopy Create free account
hub / github.com/RubyLouvre/anu / baseIsTypedArray

Function baseIsTypedArray

test/babel.js:51574–51576  ·  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

51572 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
51573 */
51574 function baseIsTypedArray(value) {
51575 return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
51576 }
51577
51578 module.exports = baseIsTypedArray;
51579

Callers

nothing calls this directly

Calls 3

isLengthFunction · 0.85
isObjectLikeFunction · 0.70
baseGetTagFunction · 0.70

Tested by

no test coverage detected