NullableLetExtension<T, R> extension
Extension on T? to add a letNonNull method.
- on
-
- T?
Methods
-
letNonNull(
R? block(T)) → R? -
Available on T?, provided by the NullableLetExtension extension
Applies theblockfunction to this value and returns the result if this value is not null.