pub fn lua_len(state: &mut LuaState, idx: i32) -> Result<i64, LuaError>
Return the length of the value at idx as a i64, raising an error if the length is not an integer.
idx
i64