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

Method hasMetadata

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

499 * @param key The metadata key to check.
500 */
501 hasMetadata(key: MetadataKey<any, any, any>): boolean;
502
503 /**
504 * 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