This occurred to me as related to your question:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to omit type assertion from compiled output | 8 | 327 | April 30, 2023 | |
| Feature request: type assertion for compiler-known type | 21 | 1249 | April 13, 2018 | |
| Benchmarking surprises with type assertions | 10 | 437 | March 18, 2024 | |
| Should Julia raise errors for illegal return type annotation? | 6 | 2677 | September 4, 2021 | |
| How to assert type after if-else | 5 | 789 | October 2, 2017 |