!=

This block is part of the condition group and was last modified in core v10.4.28.

!= v10.4.28

returns true if the two values are not equal.

In pins 2
  • compare required
    value
  • to required
    value
Out pins 1
  • 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 !=: get guid feeds the value_1 pin; value feeds the value_2 pin; the condition out pin feeds AND.

Studio canvas example for the != block: typical wiring for !=.

Commonly used with

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

  • get fields: feeds into this block. Gets the selected fields from the given object.
  • 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: feeds into this block. Returns the guid (field: _meta.guid) of the given user.
  • value: feeds into this block. Simply returns the provided value.
  • branch: this block feeds into it.
  • get fields: feeds into this block. Gets the given fields from user data and returns this per data-pin.

Version history

Introduced in v10.4.28.


Back to condition Return to the main group to view all sub-groups Back to condition: value Return to the group to view all blocks within this group