hbd 0.1.0

Remember birthdays easily!
Documentation
1
2
3
4
5
6
7
8
use crate::files::storage::Storage;

pub fn check_user_exists(storage: &Storage, user: &str) -> bool {
    storage
        .birthdays()
        .iter()
        .any(|b| b.1.iter().any(|e| e == user))
}