"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "valueGetter", {
    enumerable: true,
    get: function() {
        return valueGetter;
    }
});
const _object = require("../../../helpers/object");
const _array = require("../../../helpers/array");
function valueGetter(value) {
    if (Array.isArray(value)) {
        return (0, _array.arrayToString)(value.map((val)=>{
            return (0, _object.isKeyValueObject)(val) ? val.value : val;
        }), ', ');
    }
    return value;
}
