mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
6 lines
167 B
Lua
6 lines
167 B
Lua
|
assert(warn ~= nil, "Missing 'warn' global")
|
||
|
assert(
|
||
|
type(warn) == "function",
|
||
|
string.format("Global 'warn' should be a function, got '%s'", tostring(type(warn)))
|
||
|
)
|