Skip to contentOpen History to see the last commit
utils.ts
10 lines288 Bytes
1import type { Readable } from 'svelte/store' 2import type { StoreOrVal } from './types.js' 4export function isSvelteStore<T extends object>( 7 return 'subscribe' in obj && typeof obj.subscribe === 'function' 10export function noop(): void {}