deno.land / std@0.139.0 / collections / distinct_by.ts

import * as mod from "https://deno.land/std@0.139.0/collections/distinct_by.ts";

Functions

distinctBy

Returns all elements in the given array that produce a distinct value using the given selector, preserving order by first occurrence

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago