77
rated 0 times
[
83]
[
6]
/ answers: 1 / hits: 40383
/ 9 Years ago, wed, february 11, 2015, 12:00:00
What do you all think would be the best (best can be interpreted as most readable or most performant, your choice) way to write a function using the lodash utilities in order to check an array for duplicate values.
I want to input ['foo', 'foo', 'bar']
and have the function return true
. And input ['foo', 'bar', 'baz']
and have the function return false
.
More From » lodash