logo
pub fn to_i(
    interp: &mut Artichoke,
    value: Value,
    base: Option<Value>
) -> Result<Value, Error>