NullableMapPick extension
- on
Methods
-
asMapOrEmpty<
RK, RV> () → Map< RK, RV> -
Returns the picked value as Map or an empty map when the
value
isn't a Map or isAbsent. -
asMapOrNull<
RK, RV> () → Map< RK, RV> ? -
Returns the picked value as Map or null when the
value
isn't a Map or isAbsent. -
asMapOrThrow<
RK, RV> () → Map< RK, RV> - Returns the picked value as Map. This method throws when value is not a Map or isAbsent