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

Method isEmpty

src/material/select/testing/select-harness.ts:62–64  ·  view source on GitHub ↗

Gets a boolean promise indicating if the select is empty (no value is selected).

()

Source from the content-addressed store, hash-verified

60
61 /** Gets a boolean promise indicating if the select is empty (no value is selected). */
62 async isEmpty(): Promise<boolean> {
63 return (await this.host()).hasClass(`${this._prefix}-select-empty`);
64 }
65
66 /** Gets a boolean promise indicating if the select is in multi-selection mode. */
67 async isMultiple(): Promise<boolean> {

Callers 5

emptyMethod · 0.45
emptyMethod · 0.45

Calls 1

hasClassMethod · 0.65

Tested by

no test coverage detected