is v1.0.0 Is.Validators.Or View Source
OR logic operators for validators.
Examples
iex> Is.validate(10, or: [:integer, :binary])
[]
iex> Is.validate(10, or: [:binary, :boolean])
[{:error, [], "must satisfies at least one of conditions [:binary, :boolean]"}]