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

Method empty

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

Whether the select has a value.

()

Source from the content-addressed store, hash-verified

1015
1016 /** Whether the select has a value. */
1017 get empty(): boolean {
1018 return !this._selectionModel || this._selectionModel.isEmpty();
1019 }
1020
1021 private _initializeSelection(): void {
1022 // 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