threshold

Function threshold 

Source
pub fn threshold(s: Option<&str>) -> Option<u64>
Expand description

Parse a threshold from a command-line flag.

ยงExamples

use liboskar::prelude::*;

let threshold_string = Some("31M");
assert_eq!(threshold(threshold_string), Some(32505856))