mirai-core / net.mamoe.mirai.message.data / OrNullDelegate

OrNullDelegate

inline class OrNullDelegate<out R : Message?>

可空的委托

See Also

orNull

Constructors

<init>

可空的委托

OrNullDelegate(value: Any?)

Functions

getValue

operator fun getValue(thisRef: Any?, property: KProperty<*>): R