/**
 *
 * Denotes that this object can (and perhaps should be) cleared at some point,
 * using its `.clear()` method.
 *
 */ export interface Clearable { clear ( ) : any ; } param whatever return export function isClearable ( whatever ) { return ! ! ( whatever . clear ) && typeof whatever . clear === 'function' ; }