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