This topic describes the syntax, features, parameters, and return values of logical functions. This topic also provides examples of these functions.
and
Item | Description |
Syntax |
|
Description |
|
Parameter | The value that you want to check. You can specify one or more values. Data type: any type. |
Return value | Returns |
Example |
|
or
Item | Description |
Syntax |
|
Description |
|
Parameter | The value that you want to check. You can specify one or more values. Data type: any type. |
Return value | Returns |
Example |
|
not
Item | Description |
Syntax |
|
Description | Executes the NOT logical operator. The values of |
Parameter | The value that you want to check. You can specify only one value. Data type: any type. |
Return value |
|
Example |
|
eq
Item | Description |
Syntax |
|
Description | Compares whether two values are equal. |
Parameter |
|
Return value | Returns |
Example |
|
ne
Item | Description |
Syntax |
|
Description | Compares whether two values are not equal. |
Parameter |
|
Return value | Returns |
Example |
|
null
Item | Description |
Syntax |
|
Description | Checks whether a data type is specified for AScript. |
Parameter | v: the parameter to pass. Data type: array, dictionary, or string. A value of false is returned for other data types. |
Return value | Data type: Boolean.
|
Example | Output: |