checkPermission

abstract fun checkPermission(permission: String): Boolean

Used to check if the command source has the given permission

Return

whether the source has the permission

Parameters

permission

the permission to check for

Throws

if permission is null.