3 lines
175 B
JavaScript
3 lines
175 B
JavaScript
|
export const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||
|
||
|
Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|