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

Function _isValidDateInstance

src/material/datepicker/date-selection-model.ts:88–90  ·  view source on GitHub ↗
(date: D)

Source from the content-addressed store, hash-verified

86 }
87
88 protected _isValidDateInstance(date: D): boolean {
89 return this._adapter.isDateInstance(date) && this._adapter.isValid(date);
90 }
91
92 /** Adds a date to the current selection. */
93 abstract add(date: D | null): void;

Callers

nothing calls this directly

Calls 2

isDateInstanceMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected