isArrayBuffer
Check if the given value
is an ArrayBuffer
.
isArrayBuffer
method to verify the parameter type, avoiding errors caused by passing non-ArrayBuffer values.v
(any
): The value to test if it is an ArrayBuffer.v is ArrayBuffer
): Returns true
if the value is an ArrayBuffer, otherwise returns false
.