hasPermission

abstract fun hasPermission(@NotNull perm: @NotNull String): Boolean

Checks this command source has some permission.

Return

has this permission or not

Parameters

perm

target permission