1
Answer

Count number of similar values in an array

Photo of Joshua Foulk

Joshua Foulk

17y
6.2k
1

Is there an easy way to count the number of similar items in an array?  I know that I could loop through the array and keep a count of the number of items that match my criteria, but is there a built in function to do this?

Thanks,

Joshua Foulk

Answers (1)