WordGrid/src/lib.rs

14 lines
261 B
Rust
Raw Normal View History

2023-08-04 18:38:56 +00:00
use wasm_bindgen::prelude::wasm_bindgen;
2023-07-22 23:43:49 +00:00
2023-08-01 03:00:58 +00:00
pub mod constants;
pub mod board;
pub mod dictionary;
2023-08-03 03:00:01 +00:00
pub mod player_interaction;
2023-07-22 03:18:06 +00:00
2023-08-04 18:38:56 +00:00
#[wasm_bindgen]
pub fn return_option(some: bool) -> Option<String> {
if some {
Some("Heyo".to_string())
} else {None}
}