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

Function isBoolean

packages/shared/src/assert.ts:2–2  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

1export const isString = (v: any): v is string => typeof v === 'string'
2export const isBoolean = (v: any): v is boolean => typeof v === 'boolean'
3
4type AnyFunction = (...args: any[]) => any
5export const isFunction = (v: any): v is AnyFunction => typeof v === 'function'

Callers 2

getDefaultValueJsDocFunction · 0.90
hashMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected