[Rule Suggestion] Type-safe collection rules #7
TesteurManiak
started this conversation in
Ideas
Replies: 1 comment
-
|
Great, if you are sure that the element is in you can disable this rule on your line, but this should be the default |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
avoid_first: Prefer type-safe operationfirstOrNullavoid_last: Prefer type-safe operationlastOrNullavoid_single: Prefer type-safe operationsingleOrNullavoid_element_at: Prefer type-safe operationelementAtOrNullavoid_first_where: Prefer type-safe operationfirstWhereOrNullThose methods can be found in the collection package.
Beta Was this translation helpful? Give feedback.
All reactions