Kryzeth Standard Library

utils.globals

Methods7

function M.install_table() -> nil

install the Table library into global table

function M.install_math() -> nil

Install the Math library into global math

function M.install_string() -> nil

Install the string library into global string

function M.install_global_utils() -> nil

Install Math, String, Table into their global counterparts.

function M.reload_class()

Reload a required file, NOT IMPLEMENTED

function M.create_stdlib_globals(files: table[opt]) -> nil

load the stdlib into globals, by default it loads everything into an ALLCAPS name. Alternatively you can pass a dictionary of [global names] -> [require path].

function M.create_stdlib_data_globals(files) -> nil

Fields3

M.String : StdLib.Utils.String
M.Table : StdLib.Utils.Table