diff --git a/common/api/common.api b/common/api/common.api index 8e382735e92..293faf86b3e 100644 --- a/common/api/common.api +++ b/common/api/common.api @@ -9056,6 +9056,7 @@ public final class dev/kord/common/entity/optional/OptionalKt { public static final fun mapNullableSnowflake (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/OptionalSnowflake; public static final fun mapSnowflake (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/OptionalSnowflake; public static final fun mapValues (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; + public static final fun missingOnEmpty (Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/optional/Optional; public static final fun optional (Ljava/lang/Object;)Ldev/kord/common/entity/optional/Optional$Value; public static final fun optional (Ljava/lang/Object;)Ldev/kord/common/entity/optional/Optional; public static final fun orEmpty (Ldev/kord/common/entity/optional/Optional;)Ljava/util/List; diff --git a/common/api/common.klib.api b/common/api/common.klib.api index a96e50bcc33..b27dd809993 100644 --- a/common/api/common.klib.api +++ b/common/api/common.klib.api @@ -9345,6 +9345,7 @@ final fun <#A: kotlin/Any> (kotlin.reflect/KMutableProperty0 (kotlin.reflect/KMutableProperty0>>).dev.kord.common.entity.optional.delegate/delegateList(): kotlin.properties/ReadWriteProperty> // dev.kord.common.entity.optional.delegate/delegateList|delegateList@kotlin.reflect.KMutableProperty0>>(){0§}[0] final fun <#A: kotlin/Any?, #B: kotlin/Any?> (dev.kord.common.entity.optional/Optional>).dev.kord.common.entity.optional/mapCopy(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity.optional/mapCopy|mapCopy@dev.kord.common.entity.optional.Optional>(){0§;1§}[0] final fun <#A: kotlin/Any?> (#A?).dev.kord.common.entity.optional/optional(): dev.kord.common.entity.optional/Optional<#A?> // dev.kord.common.entity.optional/optional|optional@0:0?(){0§}[0] +final fun <#A: kotlin/Any?> (dev.kord.common.entity.optional/Optional>).dev.kord.common.entity.optional/missingOnEmpty(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity.optional/missingOnEmpty|missingOnEmpty@dev.kord.common.entity.optional.Optional>(){0§}[0] final fun <#A: kotlin/Any?> (dev.kord.common.entity.optional/Optional>).dev.kord.common.entity.optional/orEmpty(): kotlin.collections/List<#A> // dev.kord.common.entity.optional/orEmpty|orEmpty@dev.kord.common.entity.optional.Optional>(){0§}[0] final fun <#A: kotlin/Any?> (dev.kord.common.entity.optional/Optional>).dev.kord.common.entity.optional/mapCopy(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity.optional/mapCopy|mapCopy@dev.kord.common.entity.optional.Optional>(){0§}[0] final fun <#A: kotlin/Any?> (dev.kord.common.entity.optional/Optional>).dev.kord.common.entity.optional/orEmpty(): kotlin.collections/Set<#A> // dev.kord.common.entity.optional/orEmpty|orEmpty@dev.kord.common.entity.optional.Optional>(){0§}[0]