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

x/polkadot/util/mod.ts>objectProperty

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

Parameters

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