zmij 1.0.21

A double-to-string conversion algorithm based on Schubfach and yy
Documentation
1
2
3
4
5
6
7
pub fn select_unpredictable<T>(condition: bool, true_val: T, false_val: T) -> T {
    if condition {
        true_val
    } else {
        false_val
    }
}