I want to use ternary operator in `func printThis(_ items: Any...)` :

```
import Foundation

class PrintHelper {

/// This will help us to stop printing any thing to the console if we want at any time to look for something important.
static var printIsAllowed: Bool {
    return true // set false to stop printing ..
}

/// Print method that check if print is allowed or not.
///
/// - Parameter items: Zero or more items to print.
static func printThis(_ items: Any...) {
    if printIsAllowed {
        print(items)
    }else{
        return
    }
}

```

I tried to shortcut this :

```
if printIsAllowed {
        print(items)
    }else{
        return
    }

```

by writing this :

`printIsAllowed ? print(items) : return` 

Then a got an error!