getValueOrDefault

fun getValueOrDefault(defaultValue: T): T

Retrieves the value of the data, or the defaultValue if the data does not contain any value for the aggregate operation.

Return

The value of the specified field, or defaultValue if the data does not contain any value.

Since

1.0.0

Preferences Submitted

You have successfully updated your cookie preferences.