>wowhelm_
~/forever/addon-api/function/C_Traits.CanEditConfig

C_Traits.CanEditConfig

documented function · SharedTraits
C_Traits.CanEditConfig(configID) : canEdit, errorMessage

Returns whether the player can make changes to the specified talent config.

──ARGUMENTS
configID
number
──RETURNS
canEdit
bool
errorMessage
cstring (If canEdit is false, this will be filled out with text explaining why the player can not make changes.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.