replace At Index
fun BlockHost.replaceAtIndex(list: ScratchList, value: Expression?, index: Expression?): NormalBlock
Adds a 'replace item of list' block.
Parameters
list
The list to modify.
value
The new value.
index
The index of the item to replace.