godot-start/zfoo/util/ArrayUtils.gd

6 lines
103 B
GDScript

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