mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
603 B
603 B
NoWhitespace
NoWhitespace()
Validates if a string contains no whitespace (spaces, tabs and line breaks);
v::noWhitespace()->validate('foo bar'); //false
v::noWhitespace()->validate("foo\nbar"); // false
This is most useful when chaining with other validators such as Alnum()
Categorization
- Strings
Changelog
Version | Description |
---|---|
0.3.9 | Created |
See also: