(data: any)
| 18 | } |
| 19 | |
| 20 | export const isArray = (data: any) => { |
| 21 | const str = Object.prototype.toString.call(data); |
| 22 | return str.indexOf('Array') > -1; |
| 23 | } |
| 24 | |
| 25 | export const isFunction = (data: any) => typeof data === 'function'; |
| 26 |
no outgoing calls
no test coverage detected