getLong

open fun getLong(defaultValue: Long): Long

Gets the contained values as an long.

Return

The value as a long, or the defaultValue if the value is not a number.

Parameters

defaultValue

The default value if the contained value is not a number.