Skip to main content

check_number

Function check_number 

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

Return the number at arg as f64; raise a type error if not a number.