"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.flattenObjectValues = exports.flattenArray = void 0;
function flattenArray(nestedArray) {
    return nestedArray.reduce((acc, array) => [...acc, ...array], []);
}
exports.flattenArray = flattenArray;
function flattenObjectValues(object) {
    return flattenArray(Object.keys(object).map((objectKey) => object[objectKey]));
}
exports.flattenObjectValues = flattenObjectValues;
//# sourceMappingURL=flatten.js.map