MCPcopy Create free account
hub / github.com/kobaltedev/kobalte / isArray

Function isArray

packages/utils/src/assertion.ts:15–17  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

13
14// Array assertions
15export function isArray<T>(value: unknown): value is Array<T> {
16 return Array.isArray(value);
17}
18
19// String assertions
20export function isString(value: unknown): value is string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected