From dbe46dfb675e211921033732250fc76f59e77fee Mon Sep 17 00:00:00 2001 From: SalatielGenol Date: Tue, 18 Oct 2022 18:06:29 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20m=C3=A9todo=20let=20al=20tratami?= =?UTF-8?q?ento=20de=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kotlin.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kotlin.md b/kotlin.md index d3e68e9..3c2d27d 100644 --- a/kotlin.md +++ b/kotlin.md @@ -123,6 +123,8 @@ Una vez desbloqueada la limitación, se debe controlar la posibilidad de que tom > println(nombreVar ?: -1) 4. Operador !! > println(nombreVar!!) + 5. Método let + > nombreVar?.let { println($it) } ### Funciones