UNPKG

svelte-render

Version:

Manage complex Svelte behaviors outside of templates with full type safety

7 lines (6 loc) 241 B
import { readable } from 'svelte/store'; // eslint-disable-next-line @typescript-eslint/no-explicit-any export const isReadable = (value) => { return value?.subscribe instanceof Function; }; export const Undefined = readable(undefined);