(arg)
| 36579 | // because it is fragile and can be easily faked with `Object.create()`. |
| 36580 | |
| 36581 | function isArray(arg) { |
| 36582 | if (Array.isArray) { |
| 36583 | return Array.isArray(arg); |
| 36584 | } |
| 36585 | return objectToString(arg) === '[object Array]'; |
| 36586 | } |
| 36587 | exports.isArray = isArray; |
| 36588 | |
| 36589 | function isBoolean(arg) { |
no test coverage detected