mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
5 lines
169 B
Plaintext
5 lines
169 B
Plaintext
import "os" for Platform
|
|
|
|
// It's just a less stringly-typed API for checking the name.
|
|
System.print(Platform.isWindows == (Platform.name == "Windows")) // expect: true
|