LIST
This domain object operates on the type LIST.
The Domain Object
.createEmptyData() ⟶ Array
Returns an empty Array
isList() ⟶ boolean
Returns true.
.get(index: string): ⟶ object
Returns the data with at index as an object.
.get(index: number): ⟶ array
Returns the data as an Array.
.add(data: object)
Adds an data object to the list.
.remove(index: number)
Adds an data object to the list.
.update(index: number, data: object)
Updates list at index with data.
.size() ⟶ number
Returns size as a number.