setField

fun setField(    self: AvailObject,     slotIndex: Int,     value: A_BasicObject): AvailObject

Update the field value at the specified slot index of the mutable object.

Return

The given object, to facilitate chaining.

Parameters

self

An object.

slotIndex

The non-zero slot index.

value

The value to write to the specified slot.