code: function iftr(conditionResult, trueValue, falseValue) {
    if (conditionResult && (0, _is.isDefined)(trueValue)) return trueValue;
    if (!conditionResult && (0, _is.isDefined)(falseValue)) return falseValue;
  }
docs: If Then Return