parser/function_parser/existence_parser
library
Classes
-
AllFalseParser
-
Takes a collection of Boolean values and returns true if all the items are false.
If any items are true, the result is false. If the input is empty ({ }), the result is true.
-
AllParser
-
-
AllTrueParser
-
Takes a collection of Boolean values and returns true if all the items are true.
If any items are false, the result is false. If the input is empty ({ }), the result is true.
-
AnyFalseParser
-
Takes a collection of Boolean values and returns true if any of the items are false.
If all the items are true, or if the input is empty ({ }), the result is false.
-
AnyTrueParser
-
Takes a collection of Boolean values and returns true if any of the items are true.
If all the items are false, or if the input is empty ({ }), the result is false.
-
CountParser
-
-
DistinctParser
-
-
EmptyParser
-
Returns true if the input collection is empty ({ }) and false otherwise.
-
ExistsParser
-
Returns true if the collection has any elements, and false otherwise.
This is the opposite of empty(), and as such is a shorthand for
empty().not(). If the input collection is empty ({ }), the result is false.
The function can also take an optional criteria to be applied to the
collection prior to the determination of the exists. In this case, the
function is shorthand for where(criteria).exists().
Note that a common term for this function is any.
-
HasValueParser
-
-
IsDistinctParser
-
-
SubsetOfParser
-
-
SupersetOfParser
-