mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.util
/
SemVersion
/
Companion
/
satisfies
satisfies
@
JvmStatic
fun
SemVersion
.
satisfies
(
requirement
:
SemVersion.Requirement
)
:
Boolean
@
JvmStatic
fun
SemVersion
.
satisfies
(
requirement
:
String
)
:
Boolean
当满足
requirement
时返回 true, 否则返回 false