Warp/node_modules/@algolia/autocomplete-shared/dist/esm/flatten.js

5 lines
110 B
JavaScript
Raw Normal View History

2024-01-05 12:14:38 +00:00
export function flatten(values) {
return values.reduce(function (a, b) {
return a.concat(b);
}, []);
}