(obj)
| 580 | |
| 581 | // polyfills |
| 582 | function isArray(obj) { |
| 583 | if (Array.isArray) { |
| 584 | return Array.isArray(obj); |
| 585 | } else { |
| 586 | return Object.prototype.toString.call(obj) === '[object Array]'; |
| 587 | } |
| 588 | } |
| 589 | |
| 590 | function isDate(obj) { |
| 591 | return Object.prototype.toString.call(obj) === '[object Date]'; |
no outgoing calls
no test coverage detected
searching dependent graphs…