NullSafetyExtension<T> extension

Extensions to make null safety easier to deal with

on
  • T

Methods

also(AlsoInvokableFunction<T> f) → T

Available on T, provided by the NullSafetyExtension extension

let<R>(LetInvokableFunction<R, T> f) → R

Available on T, provided by the NullSafetyExtension extension

Kotlin style of coding This could be used on the Nullable objects to do some operation on it after we make sure that it's not null