E

e18e/@e18e/array.prototype.some

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

array.prototype.some Codemod

Introduction

This codemod replaces the usage of Array.prototype.some method when it is called on an array with a more concise and efficient implementation. It updates any occurrences in the codebase to enhance readability and performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.