'use strict';

function toArray(value) {
  if (value === void 0 || value === null)
    return [];
  return Array.isArray(value) ? value : [value];
}

exports.toArray = toArray;
//# sourceMappingURL=array.cjs.map
