Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

fail

import { fail } from "https://raw.githubusercontent.com/wavebeem/bread-n-butter/v0.6.0/src/bread-n-butter.ts";

Returns a parser that fails with the given messages and consumes no input.

function fail<A>(expected: string[]): Parser<A>;
§
fail<A>(expected: string[]): Parser<A>
[src]

§Type Parameters

§Parameters

§
expected: string[]
[src]

§Return Type