UNPKG

@realsee/dnalogel

Version:
7 lines (6 loc) 127 B
function i(t) { return t.length === 0 ? [] : t.filter((e, n) => e !== t[n - 1]); } export { i as filterAdjacentDistinct };