-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
3 lines (3 loc) · 1.18 KB
/
index.js
File metadata and controls
3 lines (3 loc) · 1.18 KB
1
2
3
// Copyright (c) 2026 The Stdlib Authors. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
var e,t;e=this,t=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o="function"==typeof Symbol?Symbol:void 0,n="function"==typeof o?o.toStringTag:"",f=e&&"symbol"==typeof Symbol.toStringTag?function(e){var o,f,u,a,l;if(null==e)return t.call(e);f=e[n],l=n,o=null!=(a=e)&&r.call(a,l);try{e[n]=void 0}catch(r){return t.call(e)}return u=t.call(e),o?e[n]=f:delete e[n],u}:function(e){return t.call(e)},u="function"==typeof SharedArrayBuffer;function a(e){return u&&e instanceof SharedArrayBuffer||"[object SharedArrayBuffer]"===f(e)}var l="function"==typeof SharedArrayBuffer?SharedArrayBuffer:null;return function(){var e,t,r;if("function"!=typeof l)return!1;try{r=(t=new l(16)).slice(4,8),e=a(t)&&a(r)&&16===t.byteLength&&4===r.byteLength}catch(t){e=!1}return e}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).hasSharedArrayBufferSupport=t();
//# sourceMappingURL=index.js.map