Inspectopedia
 
2024.3

Scope function can be converted to another one

Info
New
Last modified: 03 December 2024

Reports scope functions (let, run, apply, also) that can be converted between each other.

Using corresponding functions makes your code simpler.

The quick-fix replaces the scope function to another one.

Example:

After the quick-fix is applied: