in-array

Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.

Browse on unpkg