Support for `x instanceof Object`
Đang mở
bug
Typing: refinements
- Ngôn ngữ chính
- Rust
- Star
- 22.3k
- Fork
- 1.9k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
(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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.