MCPcopy Create free account
hub / github.com/angular/angular / stateOf

Method stateOf

packages/forms/signals/src/api/types.ts:982–982  ·  view source on GitHub ↗

Gets the state of the field represented by the given path.

(
    p: CompatSchemaPath<PControl>,
  )

Source from the content-addressed store, hash-verified

980 // structure so that TypeScript accepts the assignment gracefully.
981 /** Gets the state of the field represented by the given path. */
982 stateOf<PControl extends AbstractControl>(
983 p: CompatSchemaPath<PControl>,
984 ): [PControl] extends [any] ? ReadonlyCompatFieldState<PControl> : never;
985 stateOf<PValue>(

Callers 4

validateAsyncFunction · 0.65
wrapWithPredicatesFunction · 0.65

Calls

no outgoing calls

Tested by 1