MCPcopy
hub / github.com/angular/angular / hasKey

Method hasKey

packages/core/src/transfer_state.ts:110–112  ·  view source on GitHub ↗

* Test whether a key exists in the store.

(key: StateKey<T>)

Source from the content-addressed store, hash-verified

108 * Test whether a key exists in the store.
109 */
110 hasKey<T>(key: StateKey<T>): boolean {
111 return this.store.hasOwnProperty(key);
112 }
113
114 /**
115 * Indicates whether the state is empty.

Callers 4

resource_spec.tsFile · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected