Null Safety Through Kotlin Extension Functions
One of the major selling points about Kotlin is the ability to avoid the dreaded NullPointerException
(NPE), also known as The Billion Dollar Mistake. Kotlin solves this problem by having a type system which can represent both nullable (indicated by…