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

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

Functions

firstNotNullishOf

Applies the given selector to elements in the given array until a value is produced that is neither null nor undefined and returns that value Returns undefined if no such value is produced

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago