HaxeFoundation / HaxeFoundation/haxe
!is operator?
Open
discussion
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Now when we have `is` together with `EIs`, maybe we should also have `!is` and `EIs(not:Bool)` or something.
The motivation for this is that negating `is` with normal `!` requires parens so it's rather ugly and annoying to write:
`if (!(something is SomeType))`
...compared to
`if (something !is SomeType)`
Contributor guide
Assessment
This issue has not been assessed yet.