Skip to main content

get_int

Function get_int 

Source
pub fn get_int(m: &HashMap<String, Value>, key: &str) -> Result<i64, String>
Expand description

Extracts a 64-bit integer parameter value from the arguments map.

Returns Err if the key is missing or not a Number.