getRunicInstance function

Module @runic-artifex/svelte in @runic-artifex/svelte 0.23.0

function getRunicInstance(): RunicInstance;

The Runic instance of the calling component: the one the nearest setRunicInstance set, or the default instance (defaultInstance(): the page instance, or in a component bundle its element's). Outside component initialization, where Svelte has no context, it is the default instance.