hasPermission abstract method

bool hasPermission(
  1. P permission
)

Returns true if the user has the specified permission.

Implementation

bool hasPermission(P permission);