Support for `x instanceof Object`
Abierto
bug
Typing: refinements
- Lenguaje dominante
- Rust
- Estrellas
- 22.3k
- Forks
- 1.9k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
(This is probably related to #1690)
To check whether a certain value `x` is an object, I would like to use `x instanceof Object` because `typeof x === 'object'` ...
1. does not cover the case where x is `null`
2. does not cover functions being objects
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.