Skip to main content

extract_f64_arg

Function extract_f64_arg 

Source
pub fn extract_f64_arg(
    args: &[Value],
    index: usize,
    name: &str,
    span: Span,
) -> Result<f64, Diagnostic>
Expand description

Extract an f64 argument from args, or return a diagnostic.