Skip to content

Glossary: Kotlin Basics

is

Also written: !is

A keyword that checks a value's kind, as in `is Card`. After the check, Kotlin smart-casts the value to that kind.

Where the book teaches it

Related terms

smart castsealed classwhen