MCPcopy Create free account
hub / github.com/chakra-ui/panda / isArray

Function isArray

packages/extractor/src/utils.ts:13–13  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

11export const isObject = (value: any): value is object => value != null && typeof value === 'object'
12
13export const isArray = (value: any): value is any[] => Array.isArray(value)
14
15export const isPrimitiveType = (value: unknown): value is PrimitiveType => {
16 const type = typeof value

Callers 1

toBoxNodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected