The element type of the collection
Readonly_Readonly[toPattern matches over the structure, applying specific handlers for each variant
Function to apply if the structure is empty or has no value
Function to apply if the structure has a value
The result of applying the appropriate function
Converts the collection to an array.
Gets the first element of the collection.
Gets all elements except the last.
Gets the last element of the collection.
Gets all elements except the first.
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.
Applies an effect function to each element. For single-value containers: applies to the value if present For collections: applies to each element
Takes elements from the start while the predicate is true.
A version of Functype for collection types that need iteration support. Extends FunctypeBase with Iterable protocol but without Extractable.