Comparison Filters

even: Returns whether or not the value is even, this returns a response of true or false.

In this example, we have a variable with the int 23 after applying the even filter the variable becomes false.

in: Returns whether or not the value is in the Array, this returns a response of true or false.

In this example, we have an array [1, 2, 3, 4, 5] after applying the in filter the variable becomes true.

is_empty: Returns whether or not the value is empty ("", null, 0, []), this returns a response of true or false.

Example: we have a variable with no value after applying the is_empty filter the variable becomes true.

is_null: Returns whether or not the value is null, this returns a response of true or false.

In this example, we have a variable with the int 23 after applying the is_null filter the variable becomes false.

not: Returns the opposite of the existing value evaluated as a boolean.

Example: a variable: int 23 after the even filter it becomes false then the not filter, it becomes true.

​

odd: Returns whether or not the value is odd, this returns a response of true or false.

In this example, we have a variable with the int 23 after applying the odd filter the variable becomes true.