Operators¶
The if-then-else
process module supports the following operators. For some operators various names are available.
Operator | Function |
---|---|
exists , defined , is defined |
True if the provided parameter name exists in the list of all parameters. Wildcards * are supported. For example PLS_STAMP_* will check for all parameters starting with PLS_STAMP_ . |
matches , =~ |
True if the parameter value equals the provided regular expressen (RegEx). |
== , is , eq |
True if the parameter value is the same as the provided value. |
!= , ne |
True if the parameter value is not the same as the provided value. |
<= , le |
True if the parameter value is less or equal the provided value. |
>= , ge |
True if the parameter value is greater or equal the provided value. |
contains |
True if the parameter value contains the provided value. |
begins with |
True if the parameter value starts with the provided value. |
ends with |
True if the parameter value ends with the provided value. |
true , is true |
True if the parameter value is a true value. True values all numeric values not equal 0 and these case-insensitive strings: true , yes , y , x , j , t , ja . |
-f , is file |
True if the parameter value is a file. |
-d , is directory |
True if the parameter value is a directory. |