array-all-equal
v1.0.1
Published
Check if all of an array's items are equal.
Downloads
9
Readme
array-all-equal
Check if all of an array's items are equal.
import arrayAllEqual from 'array-all-equal'
arrayAllEqual(['a', 'a', 'a']) // true
arrayAllEqual(['a', 'b', 'a']) // false
arrayAllEqual([]) // true