GenericNullableScrewdriver<T extends Object?> extension
Provides extensions on nullable types.
- on
-
- T?
Properties
- isFalsy → bool
-
Available on T?, provided by the GenericNullableScrewdriver extension
Checks false-ness of the value.no setter - isTruthy → bool
-
Available on T?, provided by the GenericNullableScrewdriver extension
Checks truthiness of the value.no setter
Methods
-
apply(
void block(T obj)) → T? -
Available on T?, provided by the GenericNullableScrewdriver extension
Calls the specified functionblock
withthis
value as its argument and returnsthis
value. -
run<
R> (R block(T obj)) → R? -
Available on T?, provided by the GenericNullableScrewdriver extension
Calls the specified functionblock
withthis
value as its argument and returnsthis
value.