Smithy Kotlin
Toggle table of contents
1.5.8
common
Platform filter
common
Switch theme
Skip to content
Smithy Kotlin
runtime-core
/
aws.smithy.kotlin.runtime.collections
/
putIfAbsent
put
If
Absent
common
fun
<
T
:
Any
>
MutableAttributes
.
putIfAbsent
(
key
:
AttributeKey
<
T
>
,
value
:
T
)
Set a value for
key
only if it is not already set