Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types-codec/mod.ts>Option.with

Package publishing for deno.land/x/polkadot
Go to Latest
method Option.with
import { Option } from "https://deno.land/x/polkadot@0.2.14/types-codec/mod.ts";

Type Parameters

O extends Codec

Parameters

Type: CodecClass<O> | string

Returns

CodecClass<Option<O>>