Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deepmergets/dist/deno/defaults/general.ts>defaultFilterValues

Deeply merge 2 or more objects respecting type information.
Go to Latest
function defaultFilterValues
import { defaultFilterValues } from "https://deno.land/x/deepmergets@v7.0.1/dist/deno/defaults/general.ts";

The default function to filter values.

It filters out undefined values.

Type Parameters

Ts extends ReadonlyArray<unknown>
M

Parameters

values: Ts
meta: M | undefined

Returns

unknown[]