title: How do I idiomatically call a nullable lambda in Kotlin?
body: <p>Given the following lambda:</p>
  
  <pre><code>val lambda: () -&gt; Unit = null
  </code></pre>
  
  <p>Which of the following calls is idomatic to Kotlin for calling a nullable lambda?</p>
  
  <pre><code>lambda?.let { it() }
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>lambda?.invoke()
  </code></pre>