Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/find_single.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.202.0/collections/find_single.ts";

Functions

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