Add sample for filter
This commit is contained in:
committed by
Ilya Gorbunov
parent
840f222867
commit
f887a29279
@@ -548,6 +548,7 @@ object Filtering : TemplateGroupBase() {
|
||||
specialFor(ArraysOfUnsigned) { inlineOnly() }
|
||||
|
||||
doc { "Returns a ${f.mapResult} containing only ${f.element.pluralize()} matching the given [predicate]." }
|
||||
sample("samples.collections.Collections.Filtering.filter")
|
||||
returns("List<T>")
|
||||
body {
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user