@stdlib/array-base-to-deduped

Copy elements to a new generic array after removing consecutive duplicated values.

Browse on unpkg