IsInput
The IsInput function is supported in Studio ONLY. It returns true if
the argument is an input value, otherwise it returns false. According to
the PreviousCase argument the function works on the current or in the
previous case.
Prototype
IsInput(PreviousCase ; Attribute)
Arguments
PraviousCase String By value (Nullable)
Null (not defined) or empty string or equal to:
'N' -- work on current case
'Y' -- work on previous case
Attribute String By value
A valid string containing the Attribute name.
Returns
Boolean
the function returns True if the Attribute value is an input.
Exception
Undefined
Undefined is returned if:
- PreviousCase is not empty and not a valid one, or the previous case does not exist
- The attribute is not found
Example
IsInput( ; 'Density')
This will return False if the Density value is not an input attribute.