Full Stack Functional Programmer focused on Accessibility, Testing, and Documentation/Technical Writing. Trying to be less clever and more kind. He/Him
This I learnt (or relearnt) that the some() method exists on arrays and I don't have to do the !!someArray.find() if I just want to know if something is there.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This I learnt (or relearnt) that the
some()
method exists on arrays and I don't have to do the!!someArray.find()
if I just want to know if something is there.