mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 17:21:35 +00:00
guide: also allow Option<bool>
This commit is contained in:
@ -107,7 +107,7 @@ garbage-collected heap and the Wasm linear memory with `TextDecoder` and
|
||||
|
||||
| `T` parameter | `&T` parameter | `&mut T` parameter | `T` return value | `Option<T>` parameter | `Option<T>` return value | JavaScript representation |
|
||||
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
| Yes | No | No | Yes | No | No | A JavaScript boolean value |
|
||||
| Yes | No | No | Yes | Yes | Yes | A JavaScript boolean value |
|
||||
|
||||
### Example Rust Usage
|
||||
|
||||
|
Reference in New Issue
Block a user