NullableOps<T extends Object?> extension
- on
-
- T?
Methods
-
ifNonNull<
R> (R fn(T), [R onNull()?]) → R? -
Available on T?, provided by the NullableOps extension
Executes the given function if the value is non-null. Analogous to synchronous Future.then -
ifNull<
R> (R fn()) → R? -
Available on T?, provided by the NullableOps extension
-
isAnd(
bool test(T)) → bool -
Available on T?, provided by the NullableOps extension