(val: any)
| 41 | path[path.length - 1] === '/' ? path.slice(0, path.length - 1) : path; |
| 42 | |
| 43 | export const isFunction = (val: any): val is Function => |
| 44 | typeof val === 'function'; |
| 45 | export const isString = (val: any): val is string => typeof val === 'string'; |
| 46 | export const isNumber = (val: any): val is number => typeof val === 'number'; |
| 47 | export const isConstructor = (val: any): boolean => val === 'constructor'; |
no outgoing calls
no test coverage detected