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