Skip to main content
Comparison filters are useful for comparisons and checking data types, especially for conditional logic. They will result in a true or false boolean value.
  • bitwise_not - Returns the existing value with its bits flipped.
  • equals - Returns a boolean if both values are equal.
  • even - Returns whether or not the value is even.
  • greater_than - Returns a boolean if the left value is greater than the right value.
  • greater_than_or_equal - Returns a boolean if the left value is greater than or equal to the right value.
  • in - Returns whether or not the value is in the array.
  • is_array - Returns whether or not the value is a numerical indexed array.
  • is_bool - Returns whether or not the value is a boolean.
  • is_decimal - Returns whether or not the value is a decimal value.
  • is_empty - Returns whether or not the value is empty ("", null, 0, [], {}).
  • is_int - Returns whether or not the value is an integer.
  • is_null - Returns whether or not the value is null
  • is_object - Returns whether or not the value is an object.
  • is_text - Returns whether or not the value is text.
  • less_than - Returns a boolean if the left value is less than the right value
  • less_than_or_equal - Returns a boolean if the left value is less than or equal to the right value
  • not - Returns the opposite of the existing value evaluated as a boolean
  • not_equals - Returns a boolean if both values are not equal
  • odd - Returns whether or not the value is odd

bitwise_not

Returns the existing value with its bits flipped.

equals

Returns a boolean if both values are equal**.**

even

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

greater_than

Returns a boolean if the left value is greater than the right value.

greater_than_or_equal

Returns a boolean if the left value is greater than or equal to the right value.

in

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

is_array

Returns whether or not the value is a numerical indexed array.

is_bool

Returns whether or not the value is a boolean.

is_decimal

Returns whether or not the value is a decimal value.

is_empty

Returns whether or not the value is empty ("", null, 0, [], {}).

is_int

Returns whether or not the value is an integer.

is_null

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

is_object

Returns whether or not the value is an object.

is_text

Returns whether or not the value is text.

less_than

Returns a boolean if the left value is less than the right value

less_than_or_equal

Returns a boolean if the left value is less than or equal to the right value.

not

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

not_equals

Returns a boolean if both values are not equal.

odd

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