feat: did some stuff

This commit is contained in:
2024-04-05 18:03:23 +02:00
parent 8035b26750
commit b3780fdf96
34 changed files with 355 additions and 54 deletions

View File

@ -21,9 +21,6 @@ pub fn unwrap_string(val: JsValue) -> String {
return val.as_string().unwrap();
}
pub fn evaluate_parameter(val: JsValue) -> String {
if val.is_undefined() || val.is_null() {
panic!("Value is undefined");
}
return val.as_string().unwrap();
pub fn evaluate_parameter(_val: String) -> i32 {
return 2;
}