isArrayBufferRaw
Returns true
if the value is a built-in ArrayBuffer
instance. This does not include SharedArrayBuffer
instances. Usually, it is desirable to test for both; See util.types.isAnyArrayBuffer()
for that.
util.types.isArrayBuffer(new ArrayBuffer()); // Returns true
util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false
Content copied to clipboard
Since
v10.0.0