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

Function isCssFunction

packages/shared/src/is-css-function.ts:4–4  ·  view source on GitHub ↗
(v: unknown)

Source from the content-addressed store, hash-verified

2const fnRegExp = new RegExp(`^(${fns.join('|')})\\(.*\\)`)
3
4export const isCssFunction = (v: unknown) => typeof v === 'string' && fnRegExp.test(v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected