Minor
This commit is contained in:
parent
1d82b7faa1
commit
650ecdf9cc
|
@ -8,4 +8,4 @@ Note the generic types `R?` (in `(Int, T) -> R?`) and `List<R>`. `R?` means the
|
|||
lambda's return type is nullable. `mapIndexNotNull()` returns a list of
|
||||
non-nullable elements, so the function return type is `List<R>`. To express
|
||||
that `R` is a non-nullable type, we specify the constraint on a generic type
|
||||
parameter `R : Any`. Type constraints will be covered in [Generics].
|
||||
parameter `R : Any`. Type constraints will be covered in [More about Generics].
|
Loading…
Reference in New Issue