isContainerInitialized(context, name)
Verifies if a specific container is initialized.
Returns
The Boolean value true if the container is initialized.
Parameters
Name | Type | Description | Required |
context | string | The context of the container to be verified. | ✅ |
name | string | The name of the container to be verified. | ✅ |
Usage example
In this example, the API verifies if the container with the context
app
and name primary
is initialized.
PCore.getContainerUtils().isContainerInitialized('app', 'primary');
Previous topic getDataContextName(containerItemName) Next topic isContainerItemActive(target, key, callback)