Collection
built-in rules for Collection
Exists
Exists
is a rule that applies a specific rule to at least one element in the Iterator.
ForAll
ForAll
is a rule that applies a specific rule to all elements in the Iterator.
Head
Head
is a rule that applies a specific rule to the first element in the Iterator.
Index
Index
is a rule that applies a specific rule to the element at a specific index in the Iterator.
Init
Init
is a rule that applies a specific rule to all elements except the last element in the Iterator.
Last
Last
is a rule that applies a specific rule to the last element in the Iterator.
Reverse
Reverse
is a rule that applies a specific rule to all elements in the Iterator in reverse order.
Skip
Skip
is a rule that applies a specific rule to the elements of the Iterator while skipping the elements according to SkipOption
.
if you need more skip option, you can define it like this.