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

Method hasValue

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

* Determines whether the model has a value.

()

Source from the content-addressed store, hash-verified

138 * Determines whether the model has a value.
139 */
140 hasValue(): boolean {
141 return !this.isEmpty();
142 }
143
144 /**
145 * Sorts the selected values based on a predicate function.

Callers 1

selection.spec.tsFile · 0.80

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected