>wowhelm_
~/forever/addon-api/function/C_CurveUtil.EvaluateColorValueFromBoolean

C_CurveUtil.EvaluateColorValueFromBoolean

documented function · CurveUtil
C_CurveUtil.EvaluateColorValueFromBoolean(boolean, valueIfTrue, valueIfFalse) : value

Evaluates a potentially-secret boolean value and returns a single color component (eg. alpha).

──ARGUMENTS
boolean
bool
valueIfTrue
SingleColorValue
valueIfFalse
SingleColorValue
──RETURNS
value
SingleColorValue
──DETAILS
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

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