MCPcopy
hub / github.com/angular/components / isAllSelected

Method isAllSelected

src/cdk-experimental/selection/selection.ts:179–181  ·  view source on GitHub ↗

Checks whether all values are selected.

()

Source from the content-addressed store, hash-verified

177
178 /** Checks whether all values are selected. */
179 isAllSelected() {
180 return this._data.every((value, index) => this._selection.isSelected({value, index}));
181 }
182
183 /** Checks whether partially selected. */
184 isPartialSelected() {

Callers 4

isPartialSelectedMethod · 0.95
_updateSelectAllStateMethod · 0.95
constructorMethod · 0.45
selection.spec.tsFile · 0.45

Calls 1

isSelectedMethod · 0.65

Tested by

no test coverage detected