Previous Topic: existsCustomIconNext Topic: existsDataset


existsCustomOperator

The existsCustomOperator function checks whether a custom operator object exists in the given path. The path can be an absolute/relative path. The relative path is relative to the process in which the script is executed.

Syntax

bExists = existsCustomOperator(customOperatorPath)

Arguments

customOperatorPath (String)

Specifies the full/relative path of the custom operator whose existence needs to be checked.

Return Value

bExists (Boolean)

Returns true if the custom operator exists or false if it does not.

Example

if (existsCustomOperator(customOperatorpath))
{
	Process.mseg_custom_operator= "CustomOperator exists" ;
}
else
{
	Process.mseg_custom_operator= "CustomOperator does not exist" ;
}