contains

operator fun contains(flag: RoleFlag): Boolean(source)

Checks if this instance of RoleFlags has all bits set that are set in flag.


operator fun contains(flags: RoleFlags): Boolean(source)

Checks if this instance of RoleFlags has all bits set that are set in flags.