Can I read somewhere more about type inference? e....
# getting-started
m
Can I read somewhere more about type inference? e.g '''val num = listOf(1.0, 2)''' is List<Any>, but I would think that it would become List<Number> since it is "closer" than Any. If I write '''val numTwo = listOf<Number>(1.0, 2)''' it will be correct.