Kit
The Kit module provides information about the Kit runtime environment.
Runtime Information
Kit.version
() -> {major: Int, minor: Int, patch: Int}
Returns the Kit runtime version as a record with major, minor, and patch components.
v = Kit.version
println "Kit ${v.major}.${v.minor}.${v.patch}"
# => Kit 2026.1.13
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"