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

Method hasMetadata

packages/forms/signals/src/api/types.ts:480–480  ·  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

478 * @param key The metadata key to check.
479 */
480 hasMetadata(key: MetadataKey<any, any, any>): boolean;
481
482 /**
483 * 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