Previous Topic: existsProcessWatchNext Topic: existsSchedule


existsResource

The existsResource function checks whether a resources 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 = existsResource(resourcePath)

Arguments

resourcePath (String)

Specifies the full/relative path of resources object whose existence needs to be checked.

Return Value

bExists (Boolean)

Returns true if the resource object exists or false if it does not.

Example

bExists = existsResource("/Resources/Locks");