isArrayBuffer es-toolkit
Checks if a value is an ArrayBuffer instance.
Usage
isArrayBuffer(value)
Use isArrayBuffer when you want to check if a value is an ArrayBuffer. It can also be used as a type guard in TypeScript.
Frequently used in file processing and network communication.
Parameters
valueunknownrequired
The value to check if it's an ArrayBuffer.
Returns
Returns true if the value is an ArrayBuffer, false otherwise.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.