mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
832 B
832 B
Number
Number()
Validates if the input is a number.
v::number()->validate(42); // true
v::number()->validate(acos(8)); // false
"In computing, NaN, standing for not a number, is a numeric data type value representing an undefined or unrepresentable value, especially in floating-point calculations." Wikipedia
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Created |
See also: