isArrayBuffer
isArrayBuffer(
value):value is ArrayBuffer
Defined in: packages/core/src/guards/is-array-buffer.ts:13
Check if a value is an ArrayBuffer.
A SharedArrayBuffer does not pass — the two are distinct types with
distinct ownership semantics. Use isSharedArrayBuffer for that one.
Realm-bound: an ArrayBuffer 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 ArrayBuffer
True if the value is an ArrayBuffer