Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace .get-or-panic with a type-safe flow-typed version .get-strong #1301

Open
Tracked by #1314
andrew-johnson-4 opened this issue Mar 4, 2025 · 0 comments
Open
Tracked by #1314

Comments

@andrew-johnson-4
Copy link
Owner

Maybe has a .get-or-panic accessor that gets the content if the content exists. It would also be possible to create a type-safe version that does not need to check for the existence of the missing content. This type-safe version would just be a simple field accessor so it is potentially much faster.

Name options for the new method

.get-force
.get-strong
@alex-s168 alex-s168 mentioned this issue Mar 5, 2025
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant