npm package: @ryniaubenpm2/reiciendis-excepturi-aliquam
Description: [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Author: ryniaube
Latest version: 1.0.0

# @ryniaubenpm2/reiciendis-excepturi-aliquam <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

Is this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.

## Example

```js
var assert = require('assert');
var isSharedArrayBuffer = require('@ryniaubenpm2/reiciendis-excepturi-aliquam');

assert(!isSharedArrayBuffer(function () {}));
assert(!isSharedArrayBuffer(null));
assert(!isSharedArrayBuffer(function* () { yield 42; return Infinity; });
assert(!isSharedArrayBuffer(Symbol('foo')));
assert(!isSharedArrayBuffer(1n));
assert(!isSharedArrayBuffer(Object(1n)));

assert(!isSharedArrayBuffer(new Set()));
assert(!isSharedArrayBuffer(new WeakSet()));
assert(!isSharedArrayBuffer(new Map()));
assert(!isSharedArrayBuffer(new WeakMap()));
assert(!isSharedArrayBuffer(new WeakRef({})));
assert(!isSharedArrayBuffer(new FinalizationRegistry(() => {})));
assert(!isSharedArrayBuffer(new ArrayBuffer()));

assert(isSharedArrayBuffer(new SharedArrayBuffer()));

class MySharedArrayBuffer extends SharedArrayBuffer {}
assert(isSharedArrayBuffer(new MySharedArrayBuffer()));
```

## Tests
Simply clone the repo, `npm install`, and run `npm test`

[package-url]: https://npmjs.org/package/@ryniaubenpm2/reiciendis-excepturi-aliquam
[npm-version-svg]: https://versionbadg.es/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam.svg
[deps-svg]: https://david-dm.org/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam.svg
[deps-url]: https://david-dm.org/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam
[dev-deps-svg]: https://david-dm.org/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam/dev-status.svg
[dev-deps-url]: https://david-dm.org/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/@ryniaubenpm2/reiciendis-excepturi-aliquam.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/@ryniaubenpm2/reiciendis-excepturi-aliquam.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/@ryniaubenpm2/reiciendis-excepturi-aliquam.svg
[downloads-url]: https://npm-stat.com/charts.html?package=@ryniaubenpm2/reiciendis-excepturi-aliquam
[codecov-image]: https://codecov.io/gh/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/@ryniaubenpm2/reiciendis-excepturi-aliquam
[actions-url]: https://github.com/ryniaubenpm2/reiciendis-excepturi-aliquam/actions