MCPcopy
hub / github.com/angular/angular / min

Method min

packages/forms/src/validators.ts:185–187  ·  view source on GitHub ↗

* @description * Validator that requires the control's value to be greater than or equal to the provided number. * * @usageNotes * * ### Validate against a minimum of 3 * * ```ts * const control = new FormControl(2, Validators.min(3)); * * console.log(control.errors); /

(min: number)

Source from the content-addressed store, hash-verified

183 *
184 */
185 static min(min: number): ValidatorFn {
186 return minValidator(min);
187 }
188
189 /**
190 * @description

Callers 15

triggerMethod · 0.45
tokenMethod · 0.45
diffTextFunction · 0.45
dedentFunction · 0.45
connectSharedReferencesFunction · 0.45
dedentFunction · 0.45
swapFunction · 0.45
toMaskBitFunction · 0.45
setMaskBitFunction · 0.45
validators_spec.tsFile · 0.45
roundNumberFunction · 0.45

Calls 1

minValidatorFunction · 0.85

Tested by

no test coverage detected