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

515 B

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