MCPcopy Create free account
hub / github.com/formkit/formkit / get

Function get

packages/react/src/FormKitSchema.ts:493–497  ·  view source on GitHub ↗
(id?: string)

Source from the content-addressed store, hash-verified

491}
492
493function get(id?: string) {
494 if (typeof id !== 'string') return warn(650)
495 const root = getNode(id)
496 return root ? root.context : null
497}
498
499function normalizeAttrs(
500 element: string | ComponentType<any> | null,

Callers

nothing calls this directly

Calls 3

warnFunction · 0.90
getNodeFunction · 0.90
useScopeFunction · 0.70

Tested by

no test coverage detected