# Compare Operators Comparison operators (`>`, `>=`, `<`, `<=`) can be used for comparing scalar values of the same time. The following types are currently supported: - numbers - strings - datetimes ## Related Operators - equals / not equals (`==`, `!=`) operators [here](https://mikefarah.gitbook.io/yq/operators/equals) - boolean operators (`and`, `or`, `any` etc) [here](https://mikefarah.gitbook.io/yq/operators/boolean-operators) - select operator [here](https://mikefarah.gitbook.io/yq/operators/select)