How to use the dropRepeats function from ramda
Find comprehensive JavaScript ramda.dropRepeats code examples handpicked from public code repositorys.
8057 8058 8059 8060 8061 8062 8063 8064 8065 8066
* @param {Array} list The array to consider. * @return {Array} `list` without repeating elements. * @see R.transduce * @example * * R.dropRepeats([1, 1, 1, 2, 3, 4, 4, 2, 2]); //=> [1, 2, 3, 4, 2] */ var dropRepeats = _curry1(_dispatchable('dropRepeats', _xdropRepeatsWith(equals), dropRepeatsWith(equals))); /**
0
0
0
+ 17 other calls in file
ramda.clone is the most popular function in ramda (30311 examples)