asDoubleOrNull

Converts a Bundle to a Double if it is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.DoubleType either directly or wrapped by NavigationBundleSpecType.OptionalType.

Return

The Double stored in the bundle or null if no such value was found.