Checks if a equals b and returns c, otherwise d is returned. The check depends on the data types of parameters a and b (see details there).
Parameters
Parameter | Description |
|---|---|
a | Comparison value 1. |
b | Comparison value 2. |
c | Return value if a equals b. |
d | Return value if a is not equal to b. |
Examples
Parameter a | Parameter b | Parameter c | Parameter d | Result |
|---|---|---|---|---|
value | value | they are equal | they are not equal | they are equal |
value | novalue | they are equal | they are not equal | they are not equal |