Class

NadaValues

NadaValues()

A collection of named values.

Constructor

# new NadaValues()

Creates a new empty instance of NadaValues.

View Source nillion_client_wasm.js, line 693

Example
const values = new NadaValues();

Classes

NadaValues

Members

# length

Get the number of values.

View Source nillion_client_wasm.js, line 760

Example
const length = values.length;

Methods

# insert(name, input)

Add an encoded value to the NadaValues collection.

Parameters:
Name Type Description
name string

The name of the value

input NadaValue

The value to be added

View Source nillion_client_wasm.js, line 747

Example
values.insert("my_value", NadaValue.new_public_integer("23"));