The element type of the collection
Readonly
_Readonly
[iterator]Readonly
lengthGets the first element of the collection.
Counts elements that satisfy the predicate. For single-value containers: returns 0 or 1 For collections: returns the count of matching elements
Drops elements from the start while the predicate is true.
Tests whether any element satisfies the predicate. For single-value containers: tests the single value For collections: returns true if any element matches
Flattens a collection of collections into a single collection.
Pattern matches over the structure, applying specific handlers for each variant
The result of applying the appropriate function
Applies an effect function to each element. For single-value containers: applies to the value if present For collections: applies to each element
Converts this monad to an Either.
Conversion rules:
The value to use for the Left case when the source is empty/none/failure
An Either with the value as Right or the provided leftValue as Left
Converts this monad to a Try.
Conversion rules:
A Try containing Success with the value or Failure with an appropriate error
A version of Functype for collection types that need iteration support. Extends FunctypeBase with Iterable protocol but without Extractable.