Values
Wing has various value types including strings, integers, floats, booleans, etc. Here are a few basic examples.
- Strings, which can be added together with +
- Integers and floats
- Booleans, with boolean operators as you'd expect
main.w
log("Hello " + "Wing");
log("1+1 = {1+1}");
log("7.0/3.0 = {7.0/3.0}");
log(true && true);
log(true || false);
log(!true);
Wing console output
# Run locally with wing console
wing it
Hello Wing
1+1 = 2
7.0/3.0 = 2.3333333333333335
true
true
false