title: Ternary operator in kotlin
body: <p>I can write in java </p>
  
  <pre><code>int i = 10;
  String s = i==10 ? "Ten" : "Empty";
  </code></pre>
  
  <p>Even I can pass it in method parameter. </p>
  
  <pre><code>callSomeMethod(i==10 ? "Ten" : "Empty");
  </code></pre>
  
  <p><strong>How do I convert it to kotlin?</strong> Lint shows error when writing same thing in kotlin.</p>