respect-validation/docs/rules/Punct.md

28 lines
377 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Punct
- `Punct()`
- `Punct(string ...$additionalChars)`
2015-01-30 09:40:06 +01:00
Validates whether the input composed by only punctuation characters.
2015-01-30 09:40:06 +01:00
```php
v::punct()->validate('&,.;[]'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- Strings
## Changelog
Version | Description
--------|-------------
0.5.0 | Created
***
2015-01-30 09:40:06 +01:00
See also:
- [Control](Control.md)
- [Graph](Graph.md)
- [Printable](Printable.md)