contains

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

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


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

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