V version:
OS:
https://vlang.io/play
What did you do?
fn main() {
name := 'Bob'
println('Hello, $name! ${name.len<5}')
}
get result out:
Hello, Bob! 1
In this case true is printed as 1. Good find.
In this case
trueis printed as1. Good find.
true/ false are always printed as 1 and 0 for me...
This was changed recently:
>>> println(true)
true
>>>
could be closed, or?
Yea not sure why I didn't close it back in December :)
Most helpful comment
This was changed recently: