UNPKG

logitar-validation

Version:

JavaScript validation library distributed by Logitar.

10 lines (9 loc) 345 B
import type { ValidationRule } from "../types"; /** * A validation rule that checks if a value is less than or equal to a maximum value. * @param value The value to validate. * @param args The maximum value. * @returns The result of the validation rule execution. */ declare const maximumValue: ValidationRule; export default maximumValue;