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

Class MinValidator

packages/forms/src/directives/validators.ts:281–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279 standalone: false,
280})
281export class MinValidator extends AbstractValidatorDirective {
282 /**
283 * @description
284 * Tracks changes to the min bound to this directive.
285 */
286 @Input() min!: string | number | null;
287 /** @internal */
288 override inputName = 'min';
289 /** @internal */
290 override normalizeInput = (input: string | number): number => toFloat(input);
291 /** @internal */
292 override createValidator = (min: number): ValidatorFn => minValidator(min);
293}
294
295/**
296 * @description

Callers

nothing calls this directly

Calls 3

InputInterface · 0.90
minValidatorFunction · 0.90
toFloatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…