UserCapabilityExtension extension
Provides helper methods for UserCapability.
Properties
- isDev → bool
-
Available on UserCapability, provided by the UserCapabilityExtension extension
Returnstrue
if this capability is UserCapability.dev. Otherwisefalse
.no setter - isModerator → bool
-
Available on UserCapability, provided by the UserCapabilityExtension extension
Returnstrue
if this capability is UserCapability.moderator. Otherwisefalse
.no setter - isStudent → bool
-
Available on UserCapability, provided by the UserCapabilityExtension extension
Returnstrue
if this capability is UserCapability.student. Otherwisefalse
.no setter - isTeacher → bool
-
Available on UserCapability, provided by the UserCapabilityExtension extension
Returnstrue
if this capability is UserCapability.teacher. Otherwisefalse
.no setter