OnlyOther Function
Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
Test if none of the prescribed selection options are chosen.
For a select variable where multiple options can be chosen:
Returns true if the variable's value is known and none of the options chosen are prescribed options, and returns false otherwise.
Returns:
Boolean
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Text* | The name of the select variable. |
Examples:
Expression | Result |
|---|---|
OnlyOther( Var ) where Var=List("y","z") and the prescribed selections are "a", "b", "c" | true |
OnlyOther( Var ) where Var=List("b","z") and the prescribed selections are "a", "b", "c" | false |