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

Function normalizeDebugBindingValue

packages/core/src/ng_reflect.ts:62–69  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

60}
61
62export function normalizeDebugBindingValue(value: any): string {
63 try {
64 // Limit the size of the value as otherwise the DOM just gets polluted.
65 return value != null ? value.toString().slice(0, 30) : value;
66 } catch (e) {
67 return '[ERROR] Exception while trying to serialize the value';
68 }
69}

Callers 1

setNgReflectPropertyFunction · 0.90

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…