This file contains 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
package io.github.jitinsharma | |
const val API_KEY = "abdfkdfgl453" | |
class Helper { | |
fun getSum(first: Int, second: Int): Int = first + second | |
fun sliceFilterAndSort(list: List<String>): List<String> = | |
list.subList(0, 4).filter { it.length > 3 }.sortedBy { it.length } | |
companion object { | |
val helperId: Int = 0 | |
fun getHelperType() : String = "Helper234" | |
} | |
} | |
data class Model( | |
var id: Int = 0, | |
var type: String = "" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment