ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("lara.Platforms");

(.lara)
import lara.Platforms;

Platforms

Platforms

Platforms

Information about the current platform (e.g., if it is Linux, Windows or Mac)


Static Members

getPlatformName

getPlatformName()

isLinux

isLinux()

isMac

isMac()

isUnix

isUnix()

isWindows

isWindows()

setCurrent

setCurrent()

If platform has been previously set to a custom one, resets setting. Otherwise, does nothing.


setLinux

setLinux()

setMac

setMac()

setWindows

setWindows()