(fn: any)
| 193 | */ |
| 194 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 195 | export function isFunction(fn: any): fn is (...args: any[]) => any { |
| 196 | return typeOf(fn) === 'function' || typeOf(fn) === 'asyncfunction'; |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Checks if passed argument is an object |
no test coverage detected