Find ?.let { } calls at statement position
Proprietaryx?.let { … } at statement position discards its return value, behaving identically to x?.also { … } but reading as a transform. also makes the side-effect-only intent explicit.
org. openrewrite. kotlin. idiom. FindLetAtStatementPosition$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. idiom. FindLetAtStatementPosition$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.