godot-start/zfoo/util/ArrayUtils.gd

6 lines
103 B
GDScript
Raw Normal View History

2021-09-12 10:07:51 +00:00
extends Object
static func isEmpty(array: Array) -> bool:
return array == null or array.size() == 0