tao-test/app/vendor/respect/validation/docs/rules/ScalarVal.md

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: