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

16 lines
203 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# ScalarVal
- `v::scalarVal()`
Validates if the input is a scalar value.
```php
v::scalarVal()->validate([]); // false
v::scalarVal()->validate(135.0); // true
```
***
See also:
* [Type](Type.md)