Posts in 2022
Checking data type with when() example
Monday, February 28, 2022 in Posts
Categories:
In this short note, you can see an example of when() usage with data type. The type of data will determine the code to run. val x : Any = 12.75 when(x){ is Int -> println("$x is an Integer") is Double -> println("$x is a Double") is String -> …
Posts in 2020
Markdown Syntax Guide
Wednesday, January 01, 2020 in Posts
This article offers a sample of basic Markdown syntax that can be used in Hugo content files. Basic Syntax Headings # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 Heading 2 Heading 3 Heading 4 Heading 5 Heading …