( obj: StoreOrVal<T>, )
| 2 | import type { StoreOrVal } from './types.js' |
| 3 | |
| 4 | export function isSvelteStore<T extends object>( |
| 5 | obj: StoreOrVal<T>, |
| 6 | ): obj is Readable<T> { |
| 7 | return 'subscribe' in obj && typeof obj.subscribe === 'function' |
| 8 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…