Skip to content

@maxhealth.tech/prefab / actions / AppendState

Class: AppendState ​

Defined in: actions/client.ts:47

Base interface all actions implement

Implements ​

Constructors ​

Constructor ​

ts
new AppendState(
   key, 
   value, 
   index?): AppendState;

Defined in: actions/client.ts:48

Parameters ​

ParameterType
keystring
valueunknown
index?number

Returns ​

AppendState

Properties ​

key ​

ts
readonly key: string;

Defined in: actions/client.ts:49


value ​

ts
readonly value: unknown;

Defined in: actions/client.ts:50


index? ​

ts
readonly optional index?: number;

Defined in: actions/client.ts:51

Methods ​

toJSON() ​

ts
toJSON(): ActionJSON;

Defined in: actions/client.ts:54

Returns ​

ActionJSON

Implementation of ​

Action.toJSON

Released under the MIT License.