GlobalState
Algorand TypeScript / index / GlobalState
GlobalState<
ValueType> =object
Defined in: state.ts:44
Creates a new proxy for manipulating a global state field
Options for configuring this field
Type Parameters
Section titled “Type Parameters”ValueType
Section titled “ValueType”ValueType
The type of the value being stored - must be a serializable type
Properties
Section titled “Properties”hasValue
Section titled “hasValue”
readonlyhasValue:boolean
Defined in: state.ts:21
Gets a boolean value indicating if global state field currently has a value
value:
ValueType
Defined in: state.ts:13
Get or set the value of this global state field
Methods
Section titled “Methods”delete()
Section titled “delete()”delete():
void
Defined in: state.ts:17
Delete the stored value of this global state field
Returns
Section titled “Returns”void