---
title: "!= · RUAL Documentation"
description: "returns true if the two values are not equal."
canonical: https://docs.rual.nl/block-types/condition/condition_not_equal
language: en
---

# !=

This block is part of the [`condition`](https://docs.rual.nl/block-types/condition) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

returns true if the two values are not equal.

- compare required `value`

- to required `value`

- condition `condition`

True when the two inputs are NOT equal after both are coerced to strings: 1 vs "1" compare equal (false), true vs "true" equal (false), nil becomes "null", a missing pin becomes "", objects become "[object Object]". Case-sensitive. Example: value_1="A" value_2="a" -> true (NOT equal).

| `notequal` |
| --- |
| `singleequal` |
| `notdeepequal` |

A typical wiring for [!=](https://docs.rual.nl/block-types/condition/condition_not_equal): [get guid](https://docs.rual.nl/block-types/users/user_get_guid) feeds the `value_1` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `value_2` pin; the `condition` out pin feeds [AND](https://docs.rual.nl/block-types/condition/condition_and).

![Studio canvas example for the != block: typical wiring for !=.](https://docs.rual.nl/canvas-examples/condition_not_equal.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [AND](https://docs.rual.nl/block-types/condition/condition_and): this block feeds into it. operator for a set of boolean operands will be true if and only if all the operands are true.

- [get guid](https://docs.rual.nl/block-types/users/user_get_guid): feeds into this block. Returns the guid (field: _meta.guid) of the given user.

- [value](https://docs.rual.nl/block-types/value/value_default): feeds into this block. Simply returns the provided value.

- [branch](https://docs.rual.nl/block-types/flow/branch): this block feeds into it.

- [get fields](https://docs.rual.nl/block-types/users/user_field_getter_multiple): feeds into this block. Gets the given fields from user data and returns this per data-pin.

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
