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

x/polkadot/util/object/property.ts>objectProperty

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

Parameters

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