Atom

runtime module

Inspect runtime details, memory, and VM limits.

Import it with 'use runtime'.

Atom
use runtime
print(type(runtime.version) == string)
Output
true

The read-only string constants are version (runtime release), platform (linux, windows, macos or unknown) and architecture (x86_64, arm64 or unknown).

Atom
use runtime
print(runtime.version, runtime.platform, runtime.architecture)

Constants

version, platform, architecture. See the constant index for details.

Functions