@pinia/root / pinia / getActivePinia
getActivePinia()
ts
function getActivePinia(): undefined | Pinia
Get the currently active pinia if there is any.
Returns
undefined
| Pinia
@pinia/root / pinia / getActivePinia
function getActivePinia(): undefined | Pinia
Get the currently active pinia if there is any.
undefined
| Pinia