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

Request: offer inspection to replace indexOfFirst with alternatives if possible #58

Open
AndroidDeveloperLB opened this issue Jan 17, 2024 · 1 comment

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Jan 17, 2024

For example, if we have indexOfFirst{...}>=0 , it can be replaced with any{...}.
And the opposite:
indexOfFirst{...}<0 can be replaced with none{...}

Requested here too:
https://issuetracker.google.com/issues/320519267
https://youtrack.jetbrains.com/issue/KT-65045/Request-offer-inspection-to-replace-indexOfFirst-with-alternatives-if-possible

@Miha-x64
Copy link
Owner

don't be a stranger, contribute!

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

2 participants