Skip to main content

Function: getObjectProperty()

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / getObjectProperty

Function: getObjectProperty()

getObjectProperty(value, property): Record<string, unknown> | undefined

Defined in: packages/gswap-sdk/dist/index.d.ts:1050

Narrow an object property without trusting a cast at a network boundary.

Parameters​

value​

unknown

property​

string

Returns​

Record<string, unknown> | undefined