MCPcopy
hub / github.com/angular/angular / get

Method get

packages/zone.js/lib/zone-impl.ts:156–156  ·  view source on GitHub ↗

* Returns a value associated with the `key`. * * If the current zone does not have a key, the request is delegated to the parent zone. Use * [ZoneSpec.properties] to configure the set of properties associated with the current zone. * * @param key The key to retrieve. * @returns {an

(key: string)

Source from the content-addressed store, hash-verified

154 * @returns {any} The value for the key, or `undefined` if not found.
155 */
156 get(key: string): any;
157
158 /**
159 * Returns a Zone which defines a `key`.

Callers 15

patchMochaFunction · 0.65
isPatchingFakeTimerFunction · 0.65
isInTestFuncFunction · 0.65
patchJestFunction · 0.65
patchJasmineFunction · 0.65
getMethod · 0.65
getMethod · 0.65
isLoadedMethod · 0.65
assertPresentMethod · 0.65
runInTestZoneFunction · 0.65
fake-async-test.tsFile · 0.65
assertInZoneMethod · 0.65

Implementers 1

ZoneImplpackages/zone.js/lib/zone-impl.ts

Calls

no outgoing calls

Tested by 1

flushMicrotasksFunction · 0.52