Luau globals
Summary
Functions
Throws an error if the provided value resolves to false or nil.
Halts thread execution and throws an error.
Returns the total memory heap size in kilobytes.
Returns the metatable of the given table.
Returns an iterator function and the table for use in a for loop.
Returns the provided code as a function that can be executed.
Creates a blank userdata, with the option for it to have a metatable.
An iterator function for use in for loops.
Returns an iterator function and the provided table for use in a for loop.
Runs the provided function and catches any error it throws, returning the function's success and its results.
Prints all provided values to the output.
Returns whether v1 is equal to v2, bypassing their metamethods.
Gets the real value of table[index], bypassing any metamethods.
Returns the length of the string or table, bypassing any metamethods.
Sets the real value of table[index], bypassing any metamethods.
Returns the value that was returned by the given ModuleScript, running it if it has not been run yet.
Returns all arguments after the given index.
Sets the given table's metatable.
Returns the provided value converted to a number, or nil if impossible.
Returns the provided value converted to a string, or nil if impossible.
Returns the basic type of the provided object.
Returns all elements from the given list as a tuple.
Similar to pcall() except it uses a custom error handler.