Skip to content

API DocumentationDocs


API Documentation / pinia / getActivePinia

Function: getActivePinia()

getActivePinia(): undefined | Pinia

Get the currently active pinia if there is any.

Returns

undefined | Pinia

Released under the MIT License.