(val: any)
| 46 | export const isNumber = (val: any): val is number => typeof val === 'number'; |
| 47 | export const isConstructor = (val: any): boolean => val === 'constructor'; |
| 48 | export const isNil = (val: any): val is null | undefined => |
| 49 | isUndefined(val) || val === null; |
| 50 | export const isEmpty = (array: any): boolean => !(array && array.length > 0); |
| 51 | export const isSymbol = (val: any): val is symbol => typeof val === 'symbol'; |
no test coverage detected