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