Support for `x instanceof Object`
Aperta
bug
Typing: refinements
- Lingua principale
- Rust
- Stelle
- 22.3k
- Fork
- 1.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
(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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.