4 ms·
Doubles are supported as well through the `f64` type I think. Interestingly, I am passing booleans in my code as well... and it seems to work.
by wofo 9y ago
Doubles are supported as well through the `f64` type I think. Interestingly, I am passing booleans in my code as well... and it seems to work.
- landonxjames 9y agoI wonder if its converting them to 0's and 1's and sending that to the javascript?
- wofo 9y agoJust checked what is going on and that is indeed the case. Rust booleans compile now to the i32 type (though there is no guarantee that will stay like that in the future).