Platform.isWindows.

This commit is contained in:
Bob Nystrom
2016-05-21 12:53:21 -07:00
parent 6002cc4d65
commit 2b0878ec6d
4 changed files with 12 additions and 0 deletions

View File

@ -24,3 +24,7 @@ If Wren was compiled for an unknown operating system, returns "Unknown".
Returns `true` if the host operating system is known to support the POSIX
standard. This is true for Linux and other Unices, as well as the various Apple
operating systems.
### **isWindows**
Returns `true` if the host operating system is some flavor of Windows.