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

Method _isNeverEmpty

src/material/input/input.ts:496–498  ·  view source on GitHub ↗

Checks whether the input type is one of the types that are never empty.

()

Source from the content-addressed store, hash-verified

494
495 /** Checks whether the input type is one of the types that are never empty. */
496 protected _isNeverEmpty() {
497 return this._neverEmptyInputTypes.indexOf(this._type) > -1;
498 }
499
500 /** Checks whether the input is invalid based on the native validation. */
501 protected _isBadInput() {

Callers 1

emptyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected