export default interface Instantiable { new(...args: any[]): T } const isInstantiable = (what: any): what is Instantiable => { return (typeof what === 'object' || typeof what === 'function') && 'constructor' in what && typeof what.constructor === 'function' } export { isInstantiable }