Is Operator
Description 1 of 4 (test that a value equals another value):
Test that a first value is equal to a second value.
Synonym:
=
Returns:
Boolean
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The first value |
2 | Any | The second value |
Examples:
Expression | Result |
|---|---|
1 Is 1 | true |
0 = 1 | false |
"a" = "b" | false |
Description 2 of 4 (test that a list contains a value):
Test that a value is a member of a list of values.
This is equivalent to
Member( value, list )
. Returns:
Boolean
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The value. |
2 | Any* | The list of values. |
Examples:
Expression | Result |
|---|---|
"b" Is List("a","b","c") | true |
"z" = List("a","b","c") | false |
Description 3 of 4 (test that a list contains a value):
Test that a value is a member of a list of values.
This is equivalent to
Member( value, list )
. Returns:
Boolean
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The list of values. |
2 | Any | The value. |
Examples:
Expression | Result |
|---|---|
List("a","b","c") Is "a" | true |
List("a","b","c") = "z" | false |
Description 4 of 4 (test that a list value equals another list value):
Test if two lists have identical memberships.
Returns true if both lists contain the same members,
in
the same order
, and returns false otherwise.Returns:
Boolean
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The first list of values. |
2 | Any* | The second list of values. |
Examples:
Expression | Result |
|---|---|
List("a","b","c") Is List("a","b","c") | true |
List("a","b","c") Is List("a","b") | false |
List("a","b","c") Is List("c","b","a") | false |