MaybeNullableWrapping<T extends Object> extension

on
  • T?

Properties

just Maybe<T?>

Available on T?, provided by the MaybeNullableWrapping extension

Wrap this with an Just<T>.
no setter
maybe Maybe<T>

Available on T?, provided by the MaybeNullableWrapping extension

Wrap this into an Maybe<T> with null representing None.
no setter

Methods

maybeAs<T1>() Maybe<T1>

Available on T?, provided by the MaybeNullableWrapping extension

Maybe cast this as T1, returning None in case of an invalid cast.