sdk-common / com.tomtom.online.sdk.common.functional / Maybe / getOrNull

getOrNull

@Nullable open fun getOrNull(): A?

Returns value stored in Just or null value in case of Nothing.

Return
A?: value if Just, null otherwise.