The void type in C++ is the type of the result of a function that returns normally but does not provide a result value to its caller.

Many ROBLOX functions have this return type because they have nothing to return. When these functions are called from Lua, the result value is nil.

See also

Community content is available under CC-BY-SA unless otherwise noted.