W3cubDocs

/Kotlin

Setter

Platform and version requirements: JVM (1.0)
interface Setter<V> : KProperty.Accessor<V>, KFunction<Unit>

Setter of the property is a set method declared alongside the property.

Inherited Properties

Platform and version requirements: JVM (1.1)

isExternal

true if this function is external. See the Kotlin language documentation for more information.

abstract val isExternal: Boolean
Platform and version requirements: JVM (1.1)

isInfix

true if this function is infix. See the Kotlin language documentation for more information.

abstract val isInfix: Boolean
Platform and version requirements: JVM (1.1)

isInline

true if this function is inline. See the Kotlin language documentation for more information.

abstract val isInline: Boolean
Platform and version requirements: JVM (1.1)

isOperator

true if this function is operator. See the Kotlin language documentation for more information.

abstract val isOperator: Boolean
Platform and version requirements: JVM (1.1)

isSuspend

true if this is a suspending function.

abstract val isSuspend: Boolean

Inheritors

Platform and version requirements: JVM (1.0)

Setter

Setter of the property is a set method declared alongside the property.

interface Setter<V> : KMutableProperty.Setter<V>, (V) -> Unit
Platform and version requirements: JVM (1.0)

Setter

Setter of the property is a set method declared alongside the property.

interface Setter<T, V> : 
    KMutableProperty.Setter<V>, 
    (T, V) -> Unit
Platform and version requirements: JVM (1.0)

Setter

Setter of the property is a set method declared alongside the property.

interface Setter<D, E, V> : 
    KMutableProperty.Setter<V>, 
    (D, E, V) -> Unit

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-mutable-property/-setter.html