Skip to main content

lua_len

Function lua_len 

Source
pub fn lua_len(state: &mut LuaState, idx: i32) -> Result<i64, LuaError>
Expand description

Return the length of the value at idx as a i64, raising an error if the length is not an integer.