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

Function _isValidValue

src/material/datepicker/datepicker-input-base.ts:392–394  ·  view source on GitHub ↗

Whether a value is considered valid.

(value: D | null)

Source from the content-addressed store, hash-verified

390
391 /** Whether a value is considered valid. */
392 private _isValidValue(value: D | null): boolean {
393 return !value || this._dateAdapter.isValid(value);
394 }
395
396 /**
397 * Checks whether a parent control is disabled. This is in place so that it can be overridden

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected