static fun <A : Any!> reject(@NonNull list: MutableList<A>, @NonNull predicate: Predicate<in A>): MutableList<A>!
For the given List of values returns the list of values that do not satisfy the given predicate.
list
- MutableList<A>: list of values that are going to be filtered
predicate
- Predicate<in A>: predicate used for filtering
Return
MutableList<A>!: list of values without rejected ones