(obj, type)
| 2073 | // the `instanceof` check but they should be treated as of that type. |
| 2074 | // See: https://github.com/feross/buffer/issues/166 |
| 2075 | function isInstance (obj, type) { |
| 2076 | return obj instanceof type || |
| 2077 | (obj != null && obj.constructor != null && obj.constructor.name != null && |
| 2078 | obj.constructor.name === type.name) |
| 2079 | } |
| 2080 | function numberIsNaN (obj) { |
| 2081 | // For IE11 support |
| 2082 | return obj !== obj // eslint-disable-line no-self-compare |
no outgoing calls
no test coverage detected
searching dependent graphs…