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

Function isList

packages/core/src/node.ts:1655–1657  ·  view source on GitHub ↗
(arg: FormKitContextShape)

Source from the content-addressed store, hash-verified

1653 * @public
1654 */
1655export function isList(arg: FormKitContextShape): arg is FormKitListContext {
1656 return arg.type === 'list' && Array.isArray(arg._value)
1657}
1658
1659/**
1660 * Determine if a given object is a node.

Callers 1

partialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected