Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/validators/gte"

Index

Variables

Functions

Variables

Const greaterThanOrEqualTo

greaterThanOrEqualTo: gte = gte

Functions

gte

  • Validates that the specified value is greater than or equal to another.

    example
    useForm(({ gte }) => ({
      age: gte(13)
    }));

    Type parameters

    • Params

    Parameters

    • reference: number

      The comparison value.

    • Optional options: RuleOptions

      The validator options.

    Returns Validator<Params>

    The validation object.

Generated using TypeDoc