Documentation
    Preparing search index...

    Function validateRange

    • Parameters

      • value: number

        The value to validate

      • min: number

        Minimum allowed value (inclusive)

      • max: number

        Maximum allowed value (inclusive)

      • fieldName: string

        Name of the field for error messages

      Returns number

      The validated value

      Validate that a value is within a specified range

      If the value is outside the range