mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.message.data
/
firstIsInstanceOrNull
first
Is
Instance
Or
Null
inline
fun
<
M
:
SingleMessage
?
>
MessageChain
.
firstIsInstanceOrNull
(
)
:
M
?
获取第一个
M
实例. 在不存在时返回
null
.
See also
find
Is
Instance