Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

isContainerInitialized(context, name)

Updated on July 20, 2021

Verifies if a specific container is initialized.

Returns

The Boolean value true if the container is initialized.

Parameters

NameTypeDescriptionRequired
contextstringThe context of the container to be verified.
namestringThe 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');

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us