Is there any operator like ?. in TypeScript that can check if the variable is null or not defined like Kotlin? Like
person?.getName()?.firstName ?: "None"
No, as of now safe navigation operatior is still not implemented in Typescript: https://github.com/Microsoft/TypeScript/issues/16
However according to the latest standardization meeting notes it has been proposed, so maybe v3 :)