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

Function kvcrAsString

packages/core/test/change_detection/util.ts:102–111  ·  view source on GitHub ↗
(kvcr: KeyValueChangeRecord<string, any>)

Source from the content-addressed store, hash-verified

100}
101
102function kvcrAsString(kvcr: KeyValueChangeRecord<string, any>) {
103 return Object.is(kvcr.previousValue, kvcr.currentValue)
104 ? stringify(kvcr.key)
105 : stringify(kvcr.key) +
106 '[' +
107 stringify(kvcr.previousValue) +
108 '->' +
109 stringify(kvcr.currentValue) +
110 ']';
111}
112
113export function kvChangesAsString(kvChanges: KeyValueChanges<string, any>) {
114 const map: string[] = [];

Callers 1

kvChangesAsStringFunction · 0.85

Calls 1

stringifyFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…