Language System Library
1.10.1¶
#include <std/sys.pat>
Functions¶
std::assert(bool condition, str message)
¶
Aborts evaluation and prints an error to the console if condition evaluates to false
Parameter |
Description |
---|---|
|
Condition that needs to be met |
|
Message to be printed to the console if |
std::assert_warn(bool condition, str message)
¶
Prints a warning to the console if condition evaluates to false
Parameter |
Description |
---|---|
|
Condition that needs to be met |
|
Message to be printed to the console if |
std::env(str name) -> auto
1.12.0¶
Gets the value of a environment variable specified in the Environment Variables tab
Note
The type returned from this function depends on the type specified in the Environment Variables tab.
Parameter |
Description |
---|---|
|
Name of environment variable to query |
|
Integer, floating point, bool or string with the value of that env var |
std::sizeof_pack(auto ... pack) -> u128
1.14.0¶
Gets the number of values contained in a parameter pack
Parameter |
Description |
---|---|
|
Parameter pack |
|
Number of values contained in parameter pack |