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

Function validate

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

@docs-private

(c: AbstractControl)

Source from the content-addressed store, hash-verified

284
285 /** @docs-private */
286 validate(c: AbstractControl): ValidationErrors | null {
287 return this._validator ? this._validator(c) : null;
288 }
289
290 /** Implemented as part of ControlValueAccessor. */
291 writeValue(value: D): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected