(.js)
laraImport("lara.Platforms");
(.lara)
import lara.Platforms;
Platforms
Information about the current platform (e.g., if it is Linux, Windows or Mac)
getPlatformName()
isLinux()
isMac()
isUnix()
isWindows()
setCurrent()
If platform has been previously set to a custom one, resets setting. Otherwise, does nothing.
setLinux()
setMac()
setWindows()