Skip to main content
Module

x/lunchbox/src/utils.ts

Component Library 🍱 for Deno πŸ¦• Fresh πŸ‹
Go to Latest
import * as lunchbox from "https://deno.land/x/lunchbox@v0.1.13/src/utils.ts";

This module contains various utility functions.

Functions

This function uses an object that stores the default values for an interface T. It uses an input object of type Partial with new values to replace matching properties.

This function emulates the behavior of Array.prototype.map() in Records. It calls a function passing each entry of the record as an argument.