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