# elementor/3.8.0/app/assets/styles/functions/_map-collect.scss

Elementor Website Builder – more than just a page builder, version 3.8.0. 13 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.8.0/code/app/assets/styles/functions/_map-collect.scss
- Raw: https://pluginprobe.com/plugins/elementor/3.8.0/raw/app/assets/styles/functions/_map-collect.scss
- Modified: 2022-10-03T17:24:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.8.0/code/app/assets/styles/functions/_map-collect.scss#L10-L20`.

```scss
//Map Collect function
// Since the builtin map-merge function in Sass only take 2 arguments, it can only merge 2 maps at a time.
// The map-collect function below allows you to combine multiple maps together in a cleaner way.

@function map-collect($maps...) {
  $collection: ();

  @each $map in $maps {
	$collection: map-merge($collection, $map);
  }
  @return $collection;
}

```
