MCPcopy
hub / github.com/angular/angular / s2

Function s2

packages/forms/signals/test/node/api/when.spec.ts:74–78  ·  view source on GitHub ↗
(namePath)

Source from the content-addressed store, hash-verified

72 };
73
74 const s2: SchemaOrSchemaFn<User> = (namePath) => {
75 validate(namePath.last, ({value}) => {
76 return value.length > 0 ? undefined : {kind: 'required2'};
77 });
78 };
79
80 const f = form(
81 data,

Callers

nothing calls this directly

Calls 1

validateFunction · 0.50

Tested by

no test coverage detected