1
0
forked from Mirror/wren
Files
wren/test/string/type.wren
Bob Nystrom b979272305 Clean up text handling a bit:
- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
2014-01-05 12:27:12 -08:00

5 lines
181 B
Plaintext

IO.print("s" is String) // expect: true
IO.print("s" is Object) // expect: true
IO.print("s" is Num) // expect: false
IO.print("s".type == String) // expect: true