Why no shorthand for safe index access

I would like to know the reason why don’t we have in Kotlin shorthand for safe index access?

In Typescript, we could have:

const a: string[] | null = null;
console.log(a?.[0]);

In Kotlin, we must use normal method name:

val numbers: List<String>? = null
numbers?.get(1)
1 Like

Someone asked the same question just 2 weeks ago: Safe call with get operator

2 Likes