Sure 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 the variable is sure.
Returns true if the variable's value is known and is sure, and returns false otherwise.
note
This function is non-evaluable if the variable does not exist in the dictionary.
Returns:
Boolean
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The name of the variable. |
Examples:
Expression | Result |
|---|---|
Sure( Var ) where Var has a value which is sure | true |
Sure( Var ) where Var has a value which is unsure | false |
Sure( Var ) where Var does not have a value | false |