toPositiveIntOrDefault

Convert the value to a positive int or a default value

Return

the transformed value or the default value

Since

0.1.0

Parameters

default

the default value

See also