Type Table Library package.* Revision Current Public Release (2017.3184) Keywords package See also require()
A table used by
require() to control which modules are already loaded. When you require a module
package.loaded[modname] is not
require() simply returns the value stored there.
local ui = require( "ui" ) print( package.loaded.ui ) --> table: 0x170f83d0 print( package.loaded.abc ) --> nil (package not loaded)