import { Subscribable } from 'rxjs' ; export const isSubscribable = < T > ( value ) : value is Subscribable < T > => { return Boolean ( value && value . subscribe && typeof value . subscribe === 'function' ) ; } ;