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

Method compareWith

src/cdk/listbox/listbox.ts:349–351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 /** The function used to compare option values. */
348 @Input('cdkListboxCompareWith')
349 get compareWith(): undefined | ((o1: T, o2: T) => boolean) {
350 return this.selectionModel.compareWith;
351 }
352 set compareWith(fn: undefined | ((o1: T, o2: T) => boolean)) {
353 this.selectionModel.compareWith = fn;
354 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected