to-be 0.0.7

Simple Rust library determining whether strings indicate truey or falsy values
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// impls/implement_Truthy_for_AsStr.rs

use crate::truthy::Truthy;

use base_traits::AsStr;

impl<T> Truthy for T
where
    T : AsStr,
{
    fn is_truthy(&self) -> Option<bool> {
        crate::parse::string_is_truthy(self.as_str())
    }
}


// ///////////////////////////// end of file //////////////////////////// //