You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
validator captures a set of rules that all must be obeyed for a record/dataset to be valid.
So implicitly all rules are AND / &-ed.
When a rule consist of the & of two rules, it can / should be split in two separate validation rules: both are to be enforced on their own.
e.g.
# one rulerules<- validator( age>=0&income>=0 )
# equivalent but better because they really are separate rules.rules<- validator(
age>=0
, income>=0
)
Should validator generate a warning when it encounters a & rule?
The text was updated successfully, but these errors were encountered:
validator
captures a set of rules that all must be obeyed for a record/dataset to be valid.So implicitly all rules are
AND
/&
-ed.When a rule consist of the
&
of two rules, it can / should be split in two separate validation rules: both are to be enforced on their own.e.g.
Should
validator
generate a warning when it encounters a&
rule?The text was updated successfully, but these errors were encountered: