Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function matches.recursive
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4.3.0-alpha1/lib/esm/dependencies.js";
const { recursive } = matches;

Must pass the shape that we expect since typescript as of this point can't infer with recursive functions like this.

Parameters

fn

This should be a function that takes a parser, basically the self in a type recursion, and return a parser that is the combination of the recursion.