Add sample for filterNotNull

This commit is contained in:
adammc331
2020-02-17 19:04:40 -05:00
committed by Ilya Gorbunov
parent e8ee405cdb
commit 840f222867
5 changed files with 17 additions and 0 deletions
@@ -730,6 +730,7 @@ object Filtering : TemplateGroupBase() {
include(Iterables, Sequences, ArraysOfObjects)
} builder {
doc { "Returns a list containing all elements that are not `null`." }
sample("samples.collections.Collections.Filtering.filterNotNull")
typeParam("T : Any")
returns("List<T>")
toNullableT = true