Number
A Value that is a Number should use this trait
Table of Contents
Methods
max()
public
max(float $n) : callable
Parameters
- $n : float
Return values
callable —Returns a test which determines if a value is below a given threshold.
min()
public
min(float $n) : callable
Parameters
- $n : float
Return values
callable —Returns a test which determines if a value is above a given threshold.