UNPKG

@stdlib/esm

Version:

ES module distribution for Stdlib, a standard library for JavaScript and Node.js.

3 lines 458 B
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0 import r from"./is-sharedarraybuffer.js";var e="function"==typeof SharedArrayBuffer?SharedArrayBuffer:null,t=r,f=e;function a(){var r,e,a;if("function"!=typeof f)return!1;try{a=(e=new f(16)).slice(4,8),r=t(e)&&t(a)&&16===e.byteLength&&4===a.byteLength}catch(e){r=!1}return r}var n=a;export default n; //# sourceMappingURL=has-sharedarraybuffer-support.js.map