Remove {…} from arrow function

Convert an arrow function block body into an expression body.

Remove {…} from arrow function

Why is this refactoring helpful?

You can write arrow functions with only a return statement using an expression body. This refactoring removes visual clutter and emphasizes the functional nature of the arrow function.


Related Code Assists

Learn More

Available In