Import
import { RefArray } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as RefArray from "./RefArray.js";Members
RefArray.RefArrayA RefArray is a RefSubject that is specialized over an array of values.
RefArray.appendAppend a value to the current state of a RefArray.
RefArray.appendAllAppend an iterable of values to the current state of a RefArray.
RefArray.dedupeWithRemove any duplicate values from a RefArray.
RefArray.dropDrop the first
nvalues from a RefArray.RefArray.dropRightDrop the last
nvalues from a RefArray.RefArray.dropWhileDrop values from a RefArray while a predicate is true.
RefArray.filterValuesFilter the values of a RefArray using a predicate creating a Computed value.
RefArray.getIndexGet a value contained a particular index of a RefArray.
RefArray.groupByGroup the values of a RefArray by a key.
RefArray.headGets the first element of a
RefArrayas aFiltered.RefArray.insertAtInsert a value at a particular index of a RefArray.
RefArray.isEmptyCheck to see if a RefArray is empty.
RefArray.isNonEmptyCheck to see if a RefArray is non-empty.
RefArray.lastGets the last element of a
RefArrayas aFiltered.RefArray.lengthGet the current length of a RefArray.
RefArray.makeCreates a new
RefArrayfrom an array,Effect, orFx.RefArray.mapMap (Endomorphic) the values of a RefArray.
RefArray.mapValuesMap the values with their indexes of a RefArray.
RefArray.modifyAtModify the value at a particular index of a RefArray.
RefArray.partitionPartition the values of a RefArray using a predicate.
RefArray.prependPrepend a value to the current state of a RefArray.
RefArray.prependAllPrepend an iterable of values to the current state of a RefArray.
RefArray.reduceReduce the values of a RefArray to a single value.
RefArray.reduceRightReduce the values of a RefArray to a single value in reverse order.
RefArray.replaceAtReplace a value at a particular index of a RefArray.
RefArray.rotateRotate the values of a RefArray by
nplaces. Helpful for things like carousels.RefArray.sortBySort the values of a RefArray using a provided Order.
RefArray.takeTake the first
nvalues from a RefArray.RefArray.takeRightTake the last
nvalues from a RefArray.RefArray.takeWhileTake values from a RefArray while a predicate is true.