(obj, type)
| 1515 | // the `instanceof` check but they should be treated as of that type. |
| 1516 | // See: https://github.com/feross/buffer/issues/166 |
| 1517 | function isInstance(obj, type) { |
| 1518 | return obj instanceof type || obj != null && obj.constructor != null && obj.constructor.name != null && obj.constructor.name === type.name; |
| 1519 | } |
| 1520 | function numberIsNaN(obj) { |
| 1521 | // For IE11 support |
| 1522 | return obj !== obj; // eslint-disable-line no-self-compare |
no outgoing calls
no test coverage detected
searching dependent graphs…