godot-start/zfoo/util/CollectionUtils.gd

6 lines
123 B
GDScript

extends Object
static func isEmpty(dictionary: Dictionary) -> bool:
return dictionary == null or dictionary.size() == 0