# Comparison Built-ins

| Function | Description | OPA | Wasm | [Swift](https://github.com/open-policy-agent/swift-opa) | [Java](https://github.com/open-policy-agent/java-opa-sdk) |
| --- | --- | --- | --- | --- | --- |
| `x == y` | `x == y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is equal to `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |
| `x > y` | `x > y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is greater than `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |
| `x >= y` | `x >= y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is greater or equal to `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |
| `x < y` | `x < y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is less than `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |
| `x <= y` | `x <= y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is less than or equal to `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |
| `x != y` | `x != y`  **Arguments:**  `x` (any)  `y` (any)  **Returns:**  `result` (boolean)  true if `x` is not equal to `y`; false otherwise | v0.17.0 | ✓ | 0.0.1 | 0.1.0 |