ifElse
Description: Evaluates the first argument if the Subject evaluates to true, or the second argument if the Subject evaluates to false.
Subject Type: Boolean
Arguments:
EvaluateIfTrue : The value to return if the Subject is true
EvaluateIfFalse : The value to return if the Subject is false
Return Type: String
Examples: If the "filename" attribute has the value "a brand new filename.txt", the "nullFilename" attribute has the value null, and the "bool" attribute has the value "true", then the following expressions will provide the following results:
Table 1.1. Table 1. ifElse Examples
Expression |
Value |
|
|
|
|
|
|
|
|
|
|
|
|