import { interfaces } from "../interfaces/interfaces" ; function isClonable < T > ( obj ) { return ( typeof obj === 'object' ) && ( obj !== null ) && ( 'clone' in obj ) && typeof ( obj as interfaces . Clonable < T > ) . clone === 'function' ; } export { isClonable } ;