(obj, type)
| 4382 | // the `instanceof` check but they should be treated as of that type. |
| 4383 | // See: https://github.com/feross/buffer/issues/166 |
| 4384 | function isInstance (obj, type) { |
| 4385 | return obj instanceof type || |
| 4386 | (obj != null && obj.constructor != null && obj.constructor.name != null && |
| 4387 | obj.constructor.name === type.name) |
| 4388 | } |
| 4389 | function numberIsNaN (obj) { |
| 4390 | // For IE11 support |
| 4391 | return obj !== obj // eslint-disable-line no-self-compare |
no outgoing calls
no test coverage detected
searching dependent graphs…