Filterable<KT, A> mixin

Superclass Constraints
Mixin Applications

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

filter(bool f(A a)) HKT<KT, A>
Filter a data structure based on a boolean predicate.
filterMap<Z>(Option<Z> f(A a)) HKT<KT, Z>
Map over a data structure and filter based on a Option predicate.
map<B>(B f(A a)) HKT<KT, B>
Return type is HKT<G, B>, which expresses the fact that what we return is using exactly the same type constructor represented by the brand G
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
partition(bool f(A a)) Separated<KT, A, A>
Partition a data structure based on a boolean predicate.
partitionMap<Z, Y>(Either<Z, Y> f(A a)) Separated<KT, Z, Y>
Partition a data structure based on an Either predicate.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited