(it)
| 343 | if(!condition)throw TypeError(msg2 ? msg1 + msg2 : msg1); |
| 344 | } |
| 345 | function assertDefined(it){ |
| 346 | if(it == undefined)throw TypeError('Function called on null or undefined'); |
| 347 | return it; |
| 348 | } |
| 349 | function assertFunction(it){ |
| 350 | assert(isFunction(it), it, ' is not a function!'); |
| 351 | return it; |
no outgoing calls
no test coverage detected