hasPermission
Checks if the holder has a specific permission.
Return
true if the holder has the specified permission; otherwise, false.
Parameters
permission
The permission to check.
Checks if the holder has a specific permission.
true if the holder has the specified permission; otherwise, false.
The permission to check.