asIntArrayOrNull

Converts a Bundle to an IntArray if it is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.IntegerArrayType either directly or wrapped by NavigationBundleSpecType.OptionalType.

Return

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