Skip to main content

IsResult

The IsResult function is supported in Studio ONLY. It returns true if the argument is a case result, otherwise it returns false. According to the PreviousCase argument the function works on the current or in the previous case.

Prototype

    IsAdjusted(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 a result

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 

    IsResult( ; 'Density')  

This will return False if the Density value is not a result.