Created
March 6, 2021 17:56
-
-
Save TEGRAXD/e813e762237b634f22908d9256d6aa53 to your computer and use it in GitHub Desktop.
Pair And Title - Penta Kotlin Custom Class Usage Example
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 characters
| fun createExamplePenta() : Penta<Int, String, List<String>, Float, Double> { | |
| return Penta(1, "String Value", listOf("List Value"), 1F, 1.0) | |
| } | |
| val (firstValue, secondValue, thirdValue, fourthValue, fifthValue) = createExamplePenta() | |
| val user = createUser(name = secondValue) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment