Function opt_string
Source pub fn opt_string(lua: *mut LuaState, arg: c_int) -> Option<String>
Expand description
If the function argument arg is a string, returns this string. If this argument is absent or
is nil, returns None. Otherwise, raises an error.
This function uses to_string to get its result, so all conversions and caveats of that
function apply here.