-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
All signatures or descriptions of findIndexi are incorrect #664
Comments
Actually it would be really useful to have a variant of these findIndex/i functions that does indeed return an option, similarly to find, if we are encouraged to use pattern matching instead of the ternary operator. |
These APIs will be superseded by rescript-core functionality: https://github.com/rescript-association/rescript-core |
That doesn't mean this API should be abandoned, does it? |
https://rescript-lang.org/docs/manual/latest/api/js/array#findindexi
If it returns an int, then it does not return Some | None. Or the signature is wrong or the description is wrong.
The text was updated successfully, but these errors were encountered: