Liferay.Loader.define("dynamic-data-mapping-form-field-type@5.0.110/util/setters.es", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.setJSONArrayValue = void 0;

    /**
     * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
     * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
     */
    var setJSONArrayValue = function setJSONArrayValue(value) {
      if (value && value.JSONArray) {
        return value.JSONArray;
      }

      return value || [];
    };

    exports.setJSONArrayValue = setJSONArrayValue;
    //# sourceMappingURL=setters.es.js.map
  }
});
//# sourceMappingURL=setters.es.js.map