Skip to main content

IsOutput

The IsOutput function is supported in Studio ONLY. It returns true if the argument is an output value, otherwise it returns false. According to the PreviousCase argument the function works on the current or in the previous case.

Prototype

    IsOutput(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 StringBy value

A valid string containing the Attribute name.

Returns

    Boolean

the function returns True if the Attribute value is an output.

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

    IsOutput( ; 'Density')

This will return False if the Density value is not an output attribute.