IntNullableExt extension

Extension on nullable int to provide utility methods for null safety.

on

Methods

orZero() int

Available on int?, provided by the IntNullableExt extension

Returns the integer value or 0 if the value is null.