Simple Robot 组件 | KOOK
Toggle table of contents
4.1.1
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-api
/
love.forte.simbot.kook.objects
/
Permissions
/
contains
contains
operator
fun
contains
(
permissionsValue
:
UInt
)
:
Boolean
(
source
)
operator
fun
contains
(
permissionType
:
PermissionType
)
:
Boolean
(
source
)
operator
fun
contains
(
permissions
:
Permissions
)
:
Boolean
(
source
)
判断提供的权限类型全部存在于当前值中。
fun
contains
(
permissionsValue
:
UInt
,
full
:
Boolean
)
:
Boolean
(
source
)
fun
contains
(
permissionType
:
PermissionType
,
full
:
Boolean
)
:
Boolean
(
source
)
fun
contains
(
permissions
:
Permissions
,
full
:
Boolean
)
:
Boolean
(
source
)
判断提供的权限类型全部存在于当前值中。
Parameters
full
如果为
true
则判断是否为完全包括,否则仅判断部分包括.