Module

std/collections/find_single.ts

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