MCPcopy Index your code
hub / github.com/angular/components / isSelected

Method isSelected

src/cdk/collections/selection-model.ts:126–128  ·  view source on GitHub ↗

* Determines whether a value is selected.

(value: T)

Source from the content-addressed store, hash-verified

124 * Determines whether a value is selected.
125 */
126 isSelected(value: T): boolean {
127 return this._selection.has(this._getConcreteValue(value));
128 }
129
130 /**
131 * Determines whether the model does not have a value.

Callers 3

toggleMethod · 0.95
_markSelectedMethod · 0.95
_unmarkSelectedMethod · 0.95

Calls 1

_getConcreteValueMethod · 0.95

Tested by

no test coverage detected