Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Files

Latest commit

6540170 · Nov 1, 2017

History

History
15 lines (10 loc) · 196 Bytes

not.md

File metadata and controls

15 lines (10 loc) · 196 Bytes

Not

Validate if negates any rule.

Valid values:

validator.not(validator.notEmpty()).validate(null);

Invalid values:

validator.not(validator.notEmpty()).validate('foo');