1 comment

[ 3.0 ms ] story [ 14.5 ms ] thread
> narrowing a type through as is a common and useful operation

We banned all type assertions long time ago, and switched to type guards. I highly recommend this approach.