Back to Yq

Compare Operators

pkg/yqlib/doc/operators/headers/compare.md

4.53.2514 B
Original Source

Compare Operators

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 here
  • boolean operators (and, or, any etc) here
  • select operator here