Kit
The Kit module provides information about the Kit runtime environment.
Runtime Information
Kit.version
() -> String
Returns the full Kit runtime release version as a string.
v = Kit.version
println v
# => 2026.4.4.5
Kit.platform
() -> String
Returns the current platform as a string:
"macos", "linux", or "windows".
platform = Kit.platform
println "Running on ${platform}"
# => Running on macos
match Kit.platform
| "macos" -> println "Apple system"
| "linux" -> println "Linux system"
| "windows" -> println "Windows system"
| _ -> println "Unknown platform"