Pixi’VN
indexNamespacesHashtagCommandsFunctions

Function: convertListStringToObj()

> convertListStringToObj(listParm): object

Defined in: src/handlers/hashtag-commands.ts:329

For example: Into Ink text: duration 3 name "C J" surname Smith position "{ x: 2, y 3 }" into string list: ["duration", "3", "x", "2", "y", "3", "name", "C J", "surname", "Smith", "position", "{ x: 2, y 3 }"] into object: { "duration": 3, "x": 2, "y": 3, "name": "C J", "surname": "Smith", "position": { x: 2, y 3 } }

Parameters

listParm

string[]

Returns

object

On this page