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

Method empty

src/material/select/select.ts:1015–1017  ·  view source on GitHub ↗

Whether the select has a value.

()

Source from the content-addressed store, hash-verified

1013
1014 /** Whether the select has a value. */
1015 get empty(): boolean {
1016 return !this._selectionModel || this._selectionModel.isEmpty();
1017 }
1018
1019 private _initializeSelection(): void {
1020 // Defer setting the value in order to avoid the "Expression

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected