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

Function setMarker

packages/core/test/acceptance/hmr_spec.ts:2387–2389  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

2385 }
2386
2387 function setMarker(node: Node) {
2388 (node as any)[CREATED_INITIALLY_MARKER] = true;
2389 }
2390
2391 function hasMarker(node: Node): boolean {
2392 return !!(node as any)[CREATED_INITIALLY_MARKER];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected