GuardsArray Guards
Check Array Type
Checks if a value is an array.
isArray
Determines whether a value is a JavaScript array. Properly narrows TypeScript type to Array<T> when used in type predicates. Handles all array types including typed arrays.
Signature
function isArray<T>(value: unknown): value is Array<T>Examples
playground.ts
Last updated: Tue, May 26, 2026 02:42:32PM (UTC)
