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

Function isPlaceholder

packages/core/src/node.ts:3391–3395  ·  view source on GitHub ↗
(
  node: FormKitNode | FormKitPlaceholderNode
)

Source from the content-addressed store, hash-verified

3389 * @public
3390 */
3391export function isPlaceholder(
3392 node: FormKitNode | FormKitPlaceholderNode
3393): node is FormKitPlaceholderNode {
3394 return '__FKP' in node
3395}
3396
3397/**
3398 * Creates a new instance of a FormKit Node. Nodes are the atomic unit of a FormKit graph.

Callers 5

lists.spec.tsFile · 0.90
omitFileValuesFunction · 0.90
initEventsFunction · 0.90
multiStepPluginFunction · 0.90
syncListNodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected