OPAL Boolean Functions¶
Boolean functions calculate logic results, involving “true” and “false.” Note
that a null
value is neither true nor false; passing a null value to the verb
filter
will not emit that row in its output.
Function |
Description |
---|---|
Tests if an array contains a value. |
|
Compares whether two arrays have at least one element in common. |
|
Generate a boolean value of the argument value. |
|
Returns a null value of type bool. |
|
Returns true if the |
|
Returns true if string |
|
Return true if A is equal to B. |
|
Return true if A is strictly greater than B. |
|
Return true if A is greater than or equal to B. |
|
Returns true if the expression matches with any value in the given set. |
|
Test whether an IPv4 address is in a given subnet. |
|
Return true if the argument has the null value. |
|
Returns true if subject matches pattern (case-sensitive). |
|
Return true if A is strictly less than B. |
|
Return true if A is less than or equal to B. |
|
Return true if the argument input string or object (converted to a string) matches the argument regular expression. |
|
Return true if A is not equal to B. |
|
Given a column and path, return whether the JSON path exists in that column. |
|
Return true if A is the same as B. |
|
Return true if the |
|
Returns true if string starts with expr. |