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

x/typed_rpc/src/client.ts>removeTrailingUndefs

Lightweight JSON-RPC solution for TypeScript projects
Go to Latest
function removeTrailingUndefs
import { removeTrailingUndefs } from "https://deno.land/x/typed_rpc@v5.0.1/src/client.ts";

Returns a shallow copy the given array without any trailing undefined values.

Parameters

values: any[]