lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi everybody,

Is there a method in Lua to check from within a script if the function is
defined?
I mean, before "call expression not a function" error appears.
What I figured out, is trying to invoke the function in question using
"call", providing own handler.
Does anybody know nicer solution?

Maciej