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://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/promise.ts";
function fail<A = never>(b: unknown): Promise<A>;
§
fail<A = never>(b: unknown): Promise<A>
[src]

§Type Parameters

§
A = never
[src]

§Parameters

§
b: unknown
[src]

§Return Type

§
Promise<A>
[src]