makeGlobalList

fun makeGlobalList(name: String = IdGenerator.makeRandomId(6), value: JsonArray): ScratchList

Creates a global list.

Parameters

name

The name of the list.

value

The initial contents of the list.


fun makeGlobalList(name: String = IdGenerator.makeRandomId(6), block: JsonArrayBuilder.() -> Unit): ScratchList

Creates a global list with a builder.

Parameters

name

The name of the list.

block

The builder for the list's contents.