zam_rules library
Classes
- DecimalRangeRule
- Checks if the given input is within the given range.
- EightBitNumberRule
- Checks if the given input is 8 bit.
- EndsWithPatternMatcherRule
- Checks if the given input string starts with the given pattern.
- GreaterThanDecimalRule
- Checks if the given input is greater than another given number.
-
GreaterThanNumberRule<
NUM extends num> - Checks if the given input is greater than another given number.
- GreaterThanOrEqualToDecimalRule
- Checks if the given input is greater than or equal to another given number.
- LesserThanDecimalRule
- Checks if the given input is lesser than another given number.
-
LesserThanNumberRule<
NUM extends num> - Checks if the given input is lesser than another given number.
- LesserThanOrEqualToDecimalRule
- Checks if the given input is lesser than or equal to another given number.
-
ListShouldNotBeEmptyRule<
T extends Object?> - Checks if the given list is empty.
- MatchOnePatternRule
- Checks if the given input string matches at least one pattern from the given list.
-
NumberRangeRule<
NUM extends num> - Checks if the given input is within the given range.
- PatternMatcherRule
- Checks if the given input string matches the given pattern.
- PercentNumberRule
- Checks if the given input is within 100%.
- PositiveDecimalRule
- Checks if the given input is greater than positive.
- PositiveNumberRangeRule
- Checks if the given input is greater than 0 and within the given upper bound.
- PositiveNumberRule
- Checks if the given input is greater than 0.
- RegexMatcherRule
- Checks if the given input string matches the given regex.
- StartsWithPatternMatcherRule
- Checks if the given input string starts with the given pattern.
-
TextStartsWithRule<
VALUE extends Object> - Checks if the given input string starts with the given pattern.
- ThirtyTwoBitNumberRule
- Checks if the given input is 32 bit.