Skip to content

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

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions