Sha256: 9451dbf3ee8a39a73e3e2315f48495288b29521576f0539d18c56fc4b6d85012
Contents?: true
Size: 461 Bytes
Versions: 189
Compression:
Stored size: 461 Bytes
Contents
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var Type = require('./Type'); var isSharedArrayBuffer = require('is-shared-array-buffer'); // https://262.ecma-international.org/8.0/#sec-issharedarraybuffer module.exports = function IsSharedArrayBuffer(obj) { if (Type(obj) !== 'Object') { throw new $TypeError('Assertion failed: Type(O) is not Object'); } return isSharedArrayBuffer(obj); };
Version data entries
189 entries across 27 versions & 2 rubygems