(array)
| 255 | |
| 256 | it('should return `false` for non-functions', () => { |
| 257 | function toArgs(array) { |
| 258 | return function () { |
| 259 | return arguments; |
| 260 | }.apply(undefined, array); |
| 261 | } |
| 262 | |
| 263 | expect(Utils.isFunction(toArgs([1, 2, 3]))).toBe(false); |
| 264 | expect(Utils.isFunction([1, 2, 3])).toBe(false); |
no outgoing calls
no test coverage detected
searching dependent graphs…