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

x/polkadot/api-derive/collective/index.ts>Option.with

Package publishing for deno.land/x/polkadot
Go to Latest
method Option.with
Re-export
import { Option } from "https://deno.land/x/polkadot@0.2.12/api-derive/collective/index.ts";

Type Parameters

O extends Codec

Parameters

Type: CodecClass<O> | string

Returns

CodecClass<Option<O>>