zephyr.modules
Query the set of modules installed alongside this one in the current runtime.
2 functions
has
zephyr.modules.has(id)Check whether another module is installed in this runtime.
Parameters
idstringModule id to check for.
Returns
boolean
true if the named module is installed.
Example
lua
if zephyr.modules.has("tickets") then
-- ...
endlist
zephyr.modules.list()List the ids of all installed modules.
Returns
string[]
An array of installed module ids.