mirror of
https://github.com/Respect/Validation.git
synced 2024-06-14 03:25:09 +02:00
4fd26e39bb
Since I've already renamed the "Optional" rule to "UnderOf," it makes sense to rename this rule too. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
856 B
856 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
Categorization
- Numbers
Changelog
Version | Description |
---|---|
2.0.0 | Created |
See also: