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

Method compareDrinkObjectsByValue

src/dev-app/select/select-demo.ts:195–197  ·  view source on GitHub ↗
(d1: {value: string}, d2: {value: string})

Source from the content-addressed store, hash-verified

193 }
194
195 compareDrinkObjectsByValue(d1: {value: string}, d2: {value: string}) {
196 return d1 && d2 && d1.value === d2.value;
197 }
198
199 compareByReference(o1: any, o2: any) {
200 return o1 === o2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected