Hex Core JS
    Preparing search index...

    Function minValueValidator

    • Returns a validation function to validate that a number is greater than or equal to the min value, if given. Inclusive version of lowerBoundValidator.

      Note: null values count as valid.

      Parameters

      • OptionalminValue: number

        The minimum allowed value.

      • OptionalerrorMessage: string

        A custom error message to display if the value is invalid.

      Returns SyncValidationFunction<number | null>