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

Method hasMetadata

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

* Checks whether a metadata value exists on the field. * @param key The metadata key to check.

(key: MetadataKey<any, any, any>)

Source from the content-addressed store, hash-verified

493 * @param key The metadata key to check.
494 */
495 hasMetadata(key: MetadataKey<any, any, any>): boolean;
496
497 /**
498 * Focuses the first UI control in the DOM that is bound to this field state.

Callers 2

hasMethod · 0.65
FieldNodeStateClass · 0.65

Implementers 1

FieldNodepackages/forms/signals/src/field/node.

Calls

no outgoing calls

Tested by

no test coverage detected