Skip to content

@maxhealth.tech/prefab / actions / serializeCallbacks

Function: serializeCallbacks()

ts
function serializeCallbacks(actions): 
  | ActionJSON
  | ActionJSON[];

Defined in: actions/types.ts:20

Serialize one or more actions to their JSON form.

Parameters

ParameterType
actions| Action | Action[]

Returns

| ActionJSON | ActionJSON[]

Released under the MIT License.