Skip to main content

is_formal

Function is_formal 

Source
fn is_formal<'a>(
    formal: &[&str],
    len: usize,
    label: impl Fn(isize) -> Option<&'a str>,
) -> bool
Expand description

Whether the len strings label(i) (None for NA) are formal, in order: the formal default of a choice parameter, which an omitted argument evaluates to.