arraydata type as its value. It ensures that at any point of time the value would always be an
toStringetc. to make working with the stored value a bit easier, when you call these methods they are called on the stored
arrayvalue instead of ListUnit instance.
entries, and implements them as instance members
array. You can not directly assign or access properties like
unit[index] = vinstead, you have to use
unit.get(index), respectively. See the below comparisons for more clarity.
findIndex, etc. work similar to as they would on an array. However mutating-methods have some differences, for one, every mutating method makes the Unit emit a new array instead of mutating the current value.
forEachmethod has been replaced with
forEvery, because the extended
Observableclass already has a
forEachmethod that is intended for something else entirely. See API reference for more details.