@n3okill/utils
Version:
Many javascript helpers
13 lines • 377 B
JavaScript
/* global NodeJS */
import { isArray } from "./isArray";
import { isTypedArray } from "./isTypedArray";
/**
* Check if argument is Array or TypedArray
* @param arg
* @returns {boolean}
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function isArrayType(arg) {
return isArray(arg) || isTypedArray(arg);
}
//# sourceMappingURL=isArrayType.js.map