Check if a given type is an array type (string[], number[], boolean[], or date[]), knowing that Array Object types are also accepted as array types. The loosely typed 'array' is also accepted by this function.
the type to check.
true if the type is an array type, otherwise false.
Check if a given type is an array type (string[], number[], boolean[], or date[]), knowing that Array Object types are also accepted as array types. The loosely typed 'array' is also accepted by this function.