Module

std/collections/find_single.ts

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