# eq or ==¶

```Result = eq(expression1, expression2)
```
```Result = expression1 == expression2
```
expression1

spatial, non spatial boolean, nominal, ordinal, scalar, directional, ldd

expression2

spatial, non spatial type of expression1

Result

spatial; non spatial if expression1 and expression2 are non spatial boolean

## Operation¶

For each cell evaluates expression1 in relation to expression2. If the cell value on expression1 equals the value on expression2 Result has a cell value 1 (condition is TRUE) on the corresponding cell; if the cell value on expression1 does not equal the value on expression2 Result has a cell value 0 (condition is FALSE).

## Notes¶

A cell with a missing value on expression1 and/or expression2 or is assigned a missing value on Result.

The == sign is an alternative notation for eq.

## Group¶

This operation belongs to the group of Comparison operators

## Examples¶

1. • pcrcalc
binding
Result = Result.map;
Expr1 = Expr1.map;
Expr2 = Expr2.map;
initial
report Result = Expr1 == Expr2;

• python