toLongOrDefault

fun toLongOrDefault(default: Long): Long?(source)

Convert the value to a long or a default value

Return

the transformed value or the default value

Since

0.1.0

Parameters

default

the default value

See also