orZero

val Int?.orZero: Int

This value as an integer if this value is not null, or zero otherwise.