Files
godot/core
Hein-Pieter van Braam 833c3917b2 Allow booleanization of all types
We now allow booleanization of all types. This means that empty versions
of all types now evaluate to false. So a Vector2(0,0), Dictionary(),
etc.

This allows you to write GDScript like:
if not Dictionary():
  print("Empty dict")

Booleanization can now also no longer fail. There is no more valid flag,
this changes Variant and GDNative API.
2017-09-19 18:55:31 +02:00
..
2017-09-01 21:07:55 +07:00
2017-09-19 15:51:00 +07:00
2017-09-19 10:33:07 +07:00
2017-08-27 22:13:45 +02:00
2017-09-02 01:59:26 +02:00
2017-08-27 22:13:45 +02:00
2017-08-27 22:13:45 +02:00
2017-09-02 21:19:06 +07:00
2017-09-17 11:59:56 +10:00
2017-09-01 21:07:55 +07:00
2017-09-15 15:40:27 +02:00
2017-08-27 23:05:39 +02:00
2017-09-05 11:04:11 +07:00
2017-09-05 11:04:11 +07:00
2017-09-01 19:52:32 +02:00
2017-09-01 19:52:32 +02:00
2017-09-13 12:18:51 +08:00
2017-09-02 01:59:26 +02:00
2017-09-19 18:55:31 +02:00
2017-09-02 01:59:26 +02:00
2017-09-02 01:59:26 +02:00