NullableTExtensions<T> extension

Provides an extension method for T? that is nullable.

NullableなT用の拡張メソッドを提供します。

on
  • T?

Methods

mapOrElse<C>(C? onValue(T o), [C? onNull()?]) → C?

Available on T?, provided by the NullableTExtensions extension

Returns the result of onValue if this object is not Null. Otherwise, it returns the result of onNull.