mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.message.data
/
firstIsInstance
first
Is
Instance
inline
fun
<
M
:
SingleMessage
>
MessageChain
.
firstIsInstance
(
)
:
M
获取第一个
M
实例. 在不存在时抛出
NoSuchElementException
.
See also
find
Is
Instance