getValueWithOptions

utilsDocs


near-sdk-js v2.0.0 / utils / getValueWithOptions

Function: getValueWithOptions()

getValueWithOptions<DataType>(subDatatype, value, options): DataType | null

Type Parameters

DataType

Parameters

subDatatype: unknown

value: Uint8Array

options: Omit<GetOptions<DataType>, "serializer"> = {}

Returns

DataType | null

Defined in

packages/near-sdk-js/src/utils.ts:69

Last updated