setFunction

Native
1.3
fun setFunction(
    arena: Arena,
    obj: Object,
    propertyName: Pointer,
    propertyLength: Int,
    function: Int)

(source)
Deprecated: K/N WASM target was removed and all related API is deprecated for removal. See https://blog.jetbrains.com/kotlin/2023/02/update-regarding-kotlin-native-targets for additional details