Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pg_mem/utils.ts>notNil

An in memory postgres DB instance for your unit tests
Go to Latest
function notNil
import { notNil } from "https://deno.land/x/pg_mem@2.7.0/utils.ts";

Parameters

value: (T | nil)[] | nil

Returns

Exclude<T, null>[]