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

x/aloedb/lib/utils.ts>cleanArray

Light, Embeddable, NoSQL database for Deno 🦕
Latest
function cleanArray
import { cleanArray } from "https://deno.land/x/aloedb@0.9.0/lib/utils.ts";

Remove all empty items from the array.

Type Parameters

T extends unknown[]

Parameters

target: T

Array to clean.

Returns

Cleaned array.