Convert array.indexOf() into array.includes()
Replace array.indexOf()
checks with array.includes()
.

Configuration
- Code Assist ID (for the configuration file):
convert-array-index-of-to-array-includes
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.p42.convert-array-index-of-to-array-includes
- This code assist provides refactoring suggestions. Learn how to configure the refactoring suggestion visibility.