Compare Operators
Last updated
Was this helpful?
Last updated
Was this helpful?
Comparison operators (>
, >=
, <
, <=
) can be used for comparing scalar values of the same time.
The following types are currently supported:
numbers
strings
datetimes
equals / not equals (==
, !=
) operators
boolean operators (and
, or
, any
etc)
select operator
Given a sample.yml file of:
then
will output
Given a sample.yml file of:
then
will output
Compares strings by their bytecode.
Given a sample.yml file of:
then
will output
Given a sample.yml file of:
then
will output
Running
will output
Running
will output
You can compare date times. Assumes RFC3339 date time format, see for more information.