True if the value is a Array, false otherwise.
import { isArray, isObject } from "@nevware21/ts-utils";
function performAction(value: any) {
if (isArray(value) || isObject(value)) {
// Do something
} else {
// Do something else
}
}
Checks if the type of value is an Array.