mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +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)))
|
|
)
|