MCPcopy Index your code
hub / github.com/angular/angular / isSchemaOrSchemaFn

Function isSchemaOrSchemaFn

packages/forms/signals/src/schema/schema.ts:104–106  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

102
103/** Checks if the given value is a schema or schema function. */
104export function isSchemaOrSchemaFn(value: unknown): value is SchemaOrSchemaFn<unknown> {
105 return value instanceof SchemaImpl || typeof value === 'function';
106}
107
108/** Checks that a path node belongs to the schema function currently being compiled. */
109export function assertPathIsCurrent(path: SchemaPath<unknown>): void {

Callers 1

normalizeFormArgsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…