Constructors
makefunction
Creates a new
RefIterablefrom an Iterable,Effect, orFx.
Derived queries
countByvariable
Count elements satisfying a predicate.
filterValuesvariable
Filter the values of a RefIterable creating a Computed value.
groupByvariable
Group the values of a RefIterable by a key.
mapValuesvariable
Map the values of a RefIterable to a different type.
reducevariable
Reduce the values of a RefIterable to a single value.
sizevariable
Get the current size of a RefIterable.
toArrayvariable
Convert to array.
Optional queries
State models
RefIterableinterface
A RefIterable is a RefSubject specialized over an Iterable of values.
State predicates
State updates
appendvariable
Append a value to the current state of a RefIterable.
appendAllvariable
Append an iterable of values to the current state of a RefIterable.
dedupeAdjacentvariable
Remove adjacent duplicate values from a RefIterable.
dropvariable
Drop the first
nvalues from a RefIterable.filtervariable
Filter the values of a RefIterable (mutating).
filterMapvariable
Filter and map values in place.
flatMapvariable
FlatMap (endomorphic).
getSomesvariable
Extract Some values from Option iterable.
interspersevariable
Intersperse a separator between elements.
mapvariable
Map (Endomorphic) the values of a RefIterable.
prependvariable
Prepend a value to the current state of a RefIterable.
prependAllvariable
Prepend an iterable of values to the current state of a RefIterable.
repeatvariable
Repeat the iterable n times.
takevariable
Take the first
nvalues from a RefIterable.takeWhilevariable
Take values from a RefIterable while a predicate is true.