@stdlib/assert-is-complex-typed-array-like
Version:
Test if a value is complex-typed-array-like.
6 lines (5 loc) • 601 B
JavaScript
var n=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}};var i=n(function(c,r){
var o=require('@stdlib/assert-is-nonnegative-integer/dist').isPrimitive,f=require('@stdlib/constants-array-max-typed-array-length/dist'),s=f/2;function p(e){return e!==null&&typeof e=="object"&&o(e.length)&&e.length<=s&&typeof e.BYTES_PER_ELEMENT=="number"&&typeof e.byteOffset=="number"&&typeof e.byteLength=="number"&&typeof e.get=="function"&&typeof e.set=="function"}r.exports=p
});var y=i();module.exports=y;
/** @license Apache-2.0 */
//# sourceMappingURL=index.js.map
;