mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
194 B
194 B
Scalar
v::scalar()
Validates if the input is a scalar value.
v::scalar()->validate(array()); //false
v::scalar()->validate(135.0); //true
See also: