mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
626 B
626 B
FloatType
FloatType()
Validates whether the type of a value is float.
v::floatType()->validate(1.5); // true
v::floatType()->validate('1.5'); // false
v::floatType()->validate(0e5); // true
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: