NullableNumScrewdriver extension
Provides extensions for nullable num types.
- on
-
- num?
Properties
- orOne → num
-
Available on num?, provided by the NullableNumScrewdriver extension
Returns this value or 1 if null. Useful for equations.no setter - orZero → num
-
Available on num?, provided by the NullableNumScrewdriver extension
Returns this value or 0 if null. Useful for equations.no setter
Methods
-
or(
num value) → num -
Available on num?, provided by the NullableNumScrewdriver extension
Returns this orvalue
if null. Useful for equations.