Skip to main content
Module

x/polkadot/mod.ts>util.lazyMethods

Package publishing for deno.land/x/polkadot
Go to Latest
function util.lazyMethods
import { util } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { lazyMethods } = util;

Parameters

result: Record<string, T>
items: readonly K[]
creator: (
item: K,
index: number,
self: S,
) => T
optional
getName: (item: K, index: number) => string

Returns

Record<string, T>