import { type optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Iso } = optic;
Iso<S, A> is an alias of Lens<S, A> & Reviewer<S, A>. This means that an Iso operates exactly like a Lens with the added ability to go back from A to S.
import { type optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Iso } = optic;
Iso<S, A> is an alias of Lens<S, A> & Reviewer<S, A>. This means that an Iso operates exactly like a Lens with the added ability to go back from A to S.