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

x/polkadot/mod.ts>util.objectProperty

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

Parameters

that: object
key: string
getter: (
key: string,
index: number,
self: S,
) => unknown
optional
getName: (key: string, index: number) => string
optional
index = [UNSUPPORTED]