MCPcopy Create free account
hub / github.com/arktypeio/arktype / buildObjectArbitrary

Function buildObjectArbitrary

ark/fast-check/buildArbitrary.ts:692–696  ·  view source on GitHub ↗
(
	node: nodeOfKind<"structure">,
	ctx: Ctx
)

Source from the content-addressed store, hash-verified

690 : 2
691
692export const buildObjectArbitrary = (
693 node: nodeOfKind<"structure">,
694 ctx: Ctx
695): fc.Arbitrary<Record<string, unknown>> =>
696 buildPropsArbitrary(node.props, node.index, ctx)
697
698const emptyObject: Record<string, unknown> = {}
699

Callers 1

buildStructureArbitraryFunction · 0.85

Calls 1

buildPropsArbitraryFunction · 0.85

Tested by

no test coverage detected