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

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

Functions

findSingle

Returns an element if and only if that element is the only one matching the given condition. Returns undefined otherwise.

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago