Created
May 7, 2021 21:10
-
-
Save TunvirRahman/ecf18a150a0c979b5aaf2a5a768c35ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| someFunction(str){ | |
| const conditions = ["someValue1","someValue2"]; | |
| return conditions.some(condition=>str.includes(condition)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment