HasChildOfType

Determines whether the current object has a child of the specified type.

Syntax

bool HasChildOfType (StrParam)

Parameters

The name of a level of the Document Hierarchy (Batch, Document, Page, Field) or of a runtime variable. Smart parameters are supported.

Returns

False if the bound object does not include a child or children specified by the parameter, or a variable identified by the parameter. Otherwise, True.

Level

All.

Details

Determines if the bound object of the Document Hierarchy has a child or children of the type specified by the parameter. The action can also determine if a runtime variable specified as a parameter has been assigned to the bound object.
Example
HasChildOfType("Page")

This example determines if the bound object is the parent of one or more pages.

HasChildOfType("IGNORE")

In this example, the action determines if IGNORE is a runtime variable of the bound object.