Property |
Type |
Description |
|
$blank |
|
Blank function: does nothing. |
|
$compareInt |
callable |
Compare int function: returns the difference between the first and the second argument. |
|
$compareIntReversed |
callable |
Compare int function reversed: returns the difference between the second and the first argument. |
|
$compareLoose |
callable |
Compare loose function: returns -1, 0 or 1 based on == and > operators. |
|
$compareLooseReversed |
callable |
Compare loose function reversed: returns 1, 0 or -1 based on == and > operators. |
|
$compareStrict |
callable |
Compare strict function: returns -1, 0 or 1 based on === and > operators. |
|
$compareStrictReversed |
callable |
Compare strict function reversed: returns 1, 0 or -1 based on === and > operators. |
|
$false |
|
False function: returns false. |
|
$identity |
|
Identity function: returns the only argument. |
|
$key |
|
Key function: returns the second argument of two. |
|
$true |
|
True function: returns true. |
|
$value |
|
Value function: returns the first argument of two. |
|