getString

fun getString(defaultValue: String): String(source)

Gets the contained values as a String.

Return

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

Parameters

defaultValue

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