Last active
November 7, 2019 09:52
-
-
Save Jesus/fbd300ef6a5149cb67aa5a4b809db110 to your computer and use it in GitHub Desktop.
Revisions
-
Jesus revised this gist
Nov 7, 2019 . No changes.There are no files selected for viewing
-
Jesus revised this gist
Nov 7, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ fun hithere(): String { } fun main() { val a = hithere(3) val b = hithere() println("a is: ${a::class.simpleName}") // => "a is: Int" -
Jesus created this gist
Nov 7, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ fun hithere(n: Int): Int { return n } fun hithere(): String { return "I'm not a number!" } fun main() { val a = hithere(3) val b = hithere() println("a is: ${a::class.simpleName}") // => "a is: Int" println("b is: ${b::class.simpleName}") // => "b is: String" }