Module

x/polkadot/types-codec/index.ts>Result.with

Package publishing for deno.land/x/polkadot
Go to Latest
method Result.with
import { Result } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts";

Type Parameters

O extends Codec
E extends Codec

Parameters

Types: { Ok: CodecClass<O> | string; Err: CodecClass<E> | string; }

Returns

CodecClass<Result<O, E>>