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

Function isFunction

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

Source from the content-addressed store, hash-verified

3
4type AnyFunction = (...args: any[]) => any
5export const isFunction = (v: any): v is AnyFunction => typeof v === 'function'
6
7export function isObject(value: any): value is Record<string, any> {
8 return typeof value === 'object' && value != null && !Array.isArray(value)

Callers 2

UtilityClass · 0.90
getPropertyRawValueMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected