(target: any)
| 32 | */ |
| 33 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 34 | export function isClass(target: any): target is Constructor<any> { |
| 35 | return ( |
| 36 | typeof target === 'function' && target.toString().indexOf('class') === 0 |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Returns an Array of Classes from given files. Works by requiring the file, |
no test coverage detected