AnyOf
AnyOf(*rules: Any)
This is a group validator that acts as an OR operator.
In the sample above, IntVal()
doesn't validates, but FloatVal()
validates,
so AnyOf()
returns true.
AnyOf()
returns true if at least one inner validator passes.
Categorization
- Composite
- Nesting
Changelog
Version | Description |
---|---|
1.0.0 | Created |
See also: