HasReturnStatement

(Engine-Level Function)

Description: Examines a specified object to see if it is running a return statement in steady-state.
Returns: Boolean
Usage: Script Only.
Function Groups: Basic Module
Related to: SetReturnValue
Format: HasReturnStatement(Object)
Parameters:  
Object
Required. Reference to the object of interest.
Comments:

This function examines a specified object to see if it is running a return statement in steady-state. Returns 1 if such a statement is running, 0 if no return statement is running in steady-state, or Invalid if the first parameter cannot be resolved to an object.