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