Module

std/collections/find_single.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.159.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.