Add sample for filterNot and improve sample for filter
This commit is contained in:
@@ -677,6 +677,7 @@ object Filtering : TemplateGroupBase() {
|
||||
specialFor(ArraysOfUnsigned) { inlineOnly() }
|
||||
|
||||
doc { "Returns a list containing all elements not matching the given [predicate]." }
|
||||
sample("samples.collections.Collections.Filtering.filter")
|
||||
returns("List<T>")
|
||||
body {
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user