NullableNumScrewdriver extension

Provides extensions for nullable num types.

on

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 or value if null. Useful for equations.