godot-start/zfoo/util/CollectionUtils.gd

6 lines
123 B
GDScript
Raw Normal View History

2021-10-03 09:23:08 +00:00
extends Object
static func isEmpty(dictionary: Dictionary) -> bool:
return dictionary == null or dictionary.size() == 0