Skip to main content

getPlexusInstance

view on npm

Get the reference to the instance with a given name, if no name is provided, the master instance is returned

getPlexusInstance(name) ⇒

Get the reference to the instance with a given name, if no name is provided, the master instance is returned

Returns:

If no name, returns the main instance of PlexusJS, otherwise returns the instance with the given name (ex. a plugins instance)

ParamDefaultDescription
namedefault

(optional) The name of the instance