Updated utilities module

This commit is contained in:
kdeng00
2024-04-08 12:36:40 -04:00
parent 269899af07
commit 0307c0254b
2 changed files with 8 additions and 13 deletions
+1 -5
View File
@@ -1,15 +1,12 @@
use serde::{Deserialize, Serialize};
// mod utilities {
#[derive(Debug, Deserialize, Serialize)]
pub struct Checks {
}
impl Checks {
// TODO: Implement
pub fn is_number(val: &String) -> bool {
return false;
return val.is_numeric();
}
// TODO: Implement
@@ -24,4 +21,3 @@ impl Checks {
return String::from("");
}
}
// }