metawards.utils.resize_array

metawards.utils.resize_array(a, size: int, default: any = None)

Resize the passed array to size ‘size’, adding ‘default’ if this will grow the array