respect-validation/docs/ScalarVal.md
Henrique Moody 66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00

203 B

ScalarVal

  • v::scalarVal()

Validates if the input is a scalar value.

v::scalarVal()->validate([]); // false
v::scalarVal()->validate(135.0); // true

See also: