Solar_Filter_ValidateRange::validateRange()

public bool Solar_Filter_ValidateRange::validateRange ( mixed $value , mixed $min , mixed $max )

Validates that the value is within a given range.

Parameters

  • (mixed) $value: The value to validate.

  • (mixed) $min: The minimum valid value.

  • (mixed) $max: The maximum valid value.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value is within a given range.



Local