Inspectopedia
 
2024.3

Replace 'mapIndexed' with List generator

Info
New
Last modified: 03 December 2024

Reports a mapIndexed call that can be replaced by List generator.

Example:

After the quick-fix is applied: