NumberComparator
abstract class NumberComparator extends Comparator (View source)
Methods
bool
check(mixed $value)
Compare the input number against the comparator.
bool
checkNumber(int|float $value)
Compare the input number against the comparator.
Details
final bool
__invoke(mixed $value)
Compare the input value against the comparator.
final bool
check(mixed $value)
Compare the input number against the comparator.
abstract protected bool
checkNumber(int|float $value)
Compare the input number against the comparator.