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

x/hex/src/mod.ts>fp.mutate

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function fp.mutate
import { fp } from "https://deno.land/x/hex@0.5.15/src/mod.ts";
const { mutate } = fp;

Type Parameters

T extends object

Parameters

instance: T
mutator: (draft: T) => void