Predicates must be passable as rules e.g.: ``` d.string().predicate(d.gte(4, 2)) ``` This way the full `function` library is available to build custom validators.
Predicates must be passable as rules e.g.:
This way the full
functionlibrary is available to build custom validators.