Skip to content

Glossary: Kotlin Basics

?. (safe call)

Also written: safe call, ?.

`?.` calls a function only if the value isn't null. If it is null, the whole result is null and nothing crashes.

Where the book teaches it

Related terms

nulllet