If Then Else
Battlefield 6 Scripting Docs / mod / mod / IfThenElse
function IfThenElse(
condition,
trueValue,
falseValue): any;
Defined in: mod/index.d.ts:13450
Tertiary operator. If condition is true, return the first value. Otherwise return the second value.
Parameter | Type |
---|---|
condition |
boolean |
trueValue |
any |
falseValue |
any |
any