Skip to main content

check_lstring

Function check_lstring 

Source
pub fn check_lstring(
    state: &mut LuaState,
    arg: i32,
) -> Result<GcRef<LuaString>, LuaError>
Expand description

Return the string at arg as bytes; raise a type error if not a string.