Skip to main content

opt_str

Function opt_str 

Source
fn opt_str(
    it: &mut Interp,
    opts: &Value,
    key: &str,
    allowed: &[&str],
) -> Result<Option<String>, Value>
Expand description

文字列のオプション。許された値以外は RangeError。