hasChildren()
Determines if the current component has children.
Returns
The Boolean value true if the current component has children.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns a Boolean value, which denotes if the current component has children.
const componentHasChildren = getPConnect().hasChildren();
Previous topic getValue(prop, pageReference) Next topic isBoundToState()