UNPKG

@n3okill/utils

Version:
13 lines 377 B
/* 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