(arg)
| 11506 | // because it is fragile and can be easily faked with `Object.create()`. |
| 11507 | |
| 11508 | function isArray(arg) { |
| 11509 | if (Array.isArray) { |
| 11510 | return Array.isArray(arg); |
| 11511 | } |
| 11512 | return objectToString(arg) === '[object Array]'; |
| 11513 | } |
| 11514 | exports.isArray = isArray; |
| 11515 | |
| 11516 | function isBoolean(arg) { |
no test coverage detected