forked from Mirror/wren
Platform.isWindows.
This commit is contained in:
4
test/os/platform/is_windows.wren
Normal file
4
test/os/platform/is_windows.wren
Normal file
@ -0,0 +1,4 @@
|
||||
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
|
||||
Reference in New Issue
Block a user