Skip to main content
Module

x/capi/mod.ts>ValueRune#match

[WIP] A framework for crafting interactions with Substrate chains
Latest
method ValueRune.prototype.match
Re-export
import { ValueRune } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";

Parameters

this: ValueRune<T, U>
fn: (match: Match<T, never, never>) => ExhaustiveMatch<T2, U2>

Returns

ValueRune<T2, U | U2>