mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 18:50:14 +02:00
66027b85a5
- Add a space after comments with `//`; - Add missing "See also" sections in some files
477 B
477 B
No
v::no()
v::no(boolean $locale)
Validates if value is considered as "No".
v::no()->validate('N'); // true
v::no()->validate('Nay'); // true
v::no()->validate('Nix'); // true
v::no()->validate('No'); // true
v::no()->validate('Nope'); // true
v::no()->validate('Not'); // true
This rule is case insensitive.
If $locale
is TRUE, uses the value of nl_langinfo() with NOEXPR
constant.
See also: