Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/decoder.ts>optional

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
variable optional
import { optional } from "https://deno.land/x/fun@v2.0.0/decoder.ts";

The optional tag denotes that a property in a struct or tuple is optional. This means that the key or index may not exist on the struct or tuple.

type

"optional"