isSharedArrayBuffer
isSharedArrayBuffer(
value):value is SharedArrayBuffer
Defined in: packages/core/src/guards/is-shared-array-buffer.ts:13
Check if a value is a SharedArrayBuffer.
Answers false rather than throwing where the constructor is absent —
browsers expose it only to cross-origin-isolated documents.
Realm-bound: a SharedArrayBuffer built in another realm (worker, iframe, vm
context) is not recognised.
Parameters
Section titled “Parameters”unknown
The value to check
Returns
Section titled “Returns”value is SharedArrayBuffer
True if the value is a SharedArrayBuffer