(.js)
laraImport("lara.Platforms");
(.lara)
import lara.Platforms;
PlatformsInformation 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()