UserCapabilityExtension extension

Provides helper methods for UserCapability.

on

Properties

isDev → bool
Returns true if this capability is UserCapability.dev. Otherwise false.
read-only
isModerator → bool
Returns true if this capability is UserCapability.moderator. Otherwise false.
read-only
isStudent → bool
Returns true if this capability is UserCapability.student. Otherwise false.
read-only
isTeacher → bool
Returns true if this capability is UserCapability.teacher. Otherwise false.
read-only