A lookup table of Asset for convenient lookup by name. See also asset_list.
A lookup table of Expense for convenient lookup by name. See also expense_list.
A list of IncomeStream. See also incomeStreams.
A lookup table of IncomeStream for convenient lookup by name. See also incomeStream_list.
A lookup table of Income for convenient lookup by name. See also income_list.
A lookup table of {@link Loan} for convenient lookup by name. See also {@link loan_list}.
A list of {@link Loan}. See also {@link loans}.
A lookup table of Person by name.
Sort order
List of text messages
Construct an item from a row object
The type of item (defaulted from the item)
the constructed instance.
Calculate the total net value of assets.
Get the total expenses
Return all of the values from this generator as an array. You do not want to call this on an infinite generator (for obvious reasons); consider using IEnhancements.slice or IEnhancements.limit to limit the size before calling this.
Concatenates generators (or iterators or iterables).
Ensures that any supplied generators are terminated when this is terminated.
zero or more additional Genable to provide values.
Returns false
and terminates this generator if the predicate is false for any of the generator's
yielded values.
If the generator terminates without having failed the predicate, true
is returned.
predicate to apply to each yielded value.
Optional value to supply as context (this
) for the predicate
Return a new EnhancedGenerator that yields only the values that satisfy the predicate f.
f receives the value and a sequential index.
Optional context to be passed as this
to the predicate.
Flatten the values yielded by this generator to level depth. Produces a generator that yields the individual values at each level in depth-first order. Any iterable (including Array) or iterator will be traversed and its values yielded.
The return type is currently over-broad
(default = 1)
Flatten the values yielded by applying the function to the values yielded by the generator to level depth. Produces a generator that yields the individual values at each level in depth-first order. Any iterable (including Array) or iterator will be traversed and its values yielded.
The return type is currently over-broad
Operate on each value produced by this generator. The function f is called with two values, the value yielded by this generator and a sequential index.
Value to be supplied as context this
for function f.
Determine if an item is in a specified category.
Determine if an item is in a specified scenario.
all the items in a scenario as an enhanced iterator
Trivial, but handy, same as Array.prototype.join.
(default = ',').
See also EnhancedGenerator.join
Limit the number of values that can be generated. A RangeError
is thrown if this limit is
exceeded. This is useful when you wish to abort an excessively large computation.
Apply the function to each value yielded by this generator. It is called with two arguments, the value yielded, and a sequential index. The return value is a generator that yields the values produced by the function.
Optional value to be supplied as context this
for function f.
Like Array.prototype.reduce
, but the 3rd argument to the reducing function ("array") is omitted
because there is no array.
Like Array.prototype.reduce
, but the 3rd argument to the reducing function ("array") is omitted
because there is no array.
Returns a new generator that repeats the supplied value after this generator completes.
the value to repeat
The number repetitions; the default is infinite.
Returns a new generator that repeats the last value returned by this (or undefined
if this
did not return any values).
Return a new EnhancedGenerator that only yields the indicated values, skipping start initial values and continuing until the end.
Returns true
and terminates the generator if the predicate is true for any of the generator's
yielded values.
If the generator terminates without having satisfied the predicate, false
is returned.
predicate to apply to each yielded value.
Optional value to supply as context (this
) for the predicate
Generated using TypeDoc
A particular scenario.