Downcasting works in the same way, but it isn’t always safe. Its type safety depends on the class being referenced actually being of the correct type, and it is again like a narrowing cast for value ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results