MCPcopy Index your code
hub / github.com/angular/angular / isValidatorFn

Function isValidatorFn

packages/forms/src/validators.ts:641–643  ·  view source on GitHub ↗
(validator: V | Validator | AsyncValidator)

Source from the content-addressed store, hash-verified

639}
640
641function isValidatorFn<V>(validator: V | Validator | AsyncValidator): validator is V {
642 return !(validator as Validator).validate;
643}
644
645/**
646 * Given the list of validators that may contain both functions as well as classes, return the list

Callers 1

normalizeValidatorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…