Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/lunchbox/src/utils.ts

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

This module contains various utility functions.

Variables

This function is a shorthand for classNames.default(...classNames: any[]): string

v
o

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.