Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/validators/lt"

Index

Variables

Functions

Variables

Const lessThan

lessThan: lt = lt

Functions

lt

  • Validates that the specified value is less than another.

    example
    useForm(({ lt }) => ({
      bid: [lt(9999)]
    }));

    Type parameters

    • Params

    Parameters

    • reference: number

      The comparison value.

    • Optional options: RuleOptions

      The validator options.

    Returns Validator<Params>

    The validation object.

Generated using TypeDoc