import type { Store } from './store' ; export function isStoreClass ( value ) { return typeof value ?. isStore === 'function' ; } export function isStoreInstance ( value ) { return typeof value ?. constructor ?. isStore === 'function' ; }