Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.data/DataObject/Builder/putAnyOrNull

putAnyOrNull

fun putAnyOrNull(key: String, any: Any?): DataObject.Builder

Attempts to put any object into the DataObject. The any will attempt to be converted to a supported type. If no supported type is available, then DataItem.NULL will be instead.

Return

The current Builder being operated on

Generated by Dokka
(c) Tealium 2026