LuaFunction typedef

LuaFunction = Iterable Function(LuaState state, List args)

More convenient version of LuaCFunction where arguments and returns are dart iterables.

The same rules with manipulating state as LuaCFunction apply here.

Implementation

typedef LuaFunction = Iterable Function(LuaState state, List args);