respect-validation/docs/rules/ScalarVal.md
Henrique Moody 10df3211f5
Add "Categorization" section to rule documentations
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-11 19:16:21 +02:00

402 B

ScalarVal

  • ScalarVal()

Validates whether the input is a scalar value or not.

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

Categorization

  • Types

Changelog

Version Description
1.0.0 Created

See also: