MCPcopy Create free account
hub / github.com/angular/components / _trackByValue

Function _trackByValue

src/cdk/tree/control/base-tree-control.ts:97–99  ·  view source on GitHub ↗
(value: T | K)

Source from the content-addressed store, hash-verified

95 }
96
97 protected _trackByValue(value: T | K): K {
98 return this.trackBy ? this.trackBy(value as T) : (value as K);
99 }
100}

Callers

nothing calls this directly

Calls 1

trackByMethod · 0.80

Tested by

no test coverage detected