first commit 11/07/2025
This commit is contained in:
9
src/Main.kt
Normal file
9
src/Main.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
import codes.Somecodes
|
||||
import org.tinylog.Logger
|
||||
|
||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
||||
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
||||
fun main() {
|
||||
Logger.info("Application started" as Any)
|
||||
|
||||
}
|
||||
13
src/codes/Somecodes.kt
Normal file
13
src/codes/Somecodes.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package codes
|
||||
|
||||
|
||||
@Suppress("unused")
|
||||
class Somecodes {
|
||||
companion object {
|
||||
fun ValidString(value: Any) : Boolean {
|
||||
return value is String && value.isNotBlank()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user