(d: any)
| 105 | type AnyFunction = (...args: any) => any |
| 106 | |
| 107 | export function isFunction<T extends AnyFunction>(d: any): d is T { |
| 108 | return d instanceof Function |
| 109 | } |
| 110 | |
| 111 | export function isNumberArray(d: any): d is number[] { |
| 112 | return Array.isArray(d) && d.every(val => typeof val === 'number') |
no outgoing calls
no test coverage detected
searching dependent graphs…