import { optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { imap } = optic;
An invariant map over an Optic. If a type can be represented isomorphically by another type, one can imap to go back and forth.
import { optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { imap } = optic;
An invariant map over an Optic. If a type can be represented isomorphically by another type, one can imap to go back and forth.