"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "valueGetter", {
    enumerable: true,
    get: function() {
        return valueGetter;
    }
});
const _object = require("../../../helpers/object");
function valueGetter(value) {
    return (0, _object.isObject)(value) && value.value !== undefined ? value.value : value;
}
