IsValid validates the given rule set against the source object.
If there are selectors definded which does not
Object to test.
The rules to validate.
Ture if the source matches the rules, otherwise false.
Checks if the rule matches.
Values to check.
Rule to validate
True if the rule matches, otherwise false
Checks if the selector matches.
Values to check.
Selector to validate
True if the selector matches, otherwise false
Returns true if no selector is defined or all of the given selectors matches with the source object. Otherwise false.
Object to test.
The rules to validate.
True if the rule should be used, otherwise false.
Generated using TypeDoc
With JsonRules you can validate objects with given rules.
JsonRules