mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
16 lines
515 B
Markdown
16 lines
515 B
Markdown
# 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)
|