I am not able to understand and I couldn\'t find the meaning of out keyword in kotlin.
You can check example here:
List
>
Remember like this:
in
is "for input" - you wanna put(write) something into it (so it's a "consumer")
out
is "for output" - you wanna take(read) something out of it (so it's a "producer")
If you're from Java,
is for input, so it's like super T>
(consumer)
is for output, so it's like extends T>
(producer)