> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/sass/map/overview.md).

# Overview

##

## Pattern

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>pattern.is()</code></strong></td><td>Checks whether the <a href="/pages/X7e8JccelOKqEgtt8RSU#usdvalue"><code>$value</code></a> is a map pattern.</td><td></td><td><a href="/pages/X7e8JccelOKqEgtt8RSU">/pages/X7e8JccelOKqEgtt8RSU</a></td></tr><tr><td><strong>Variables</strong></td><td></td><td></td><td><a href="/pages/nYzmAeHx3yQIx6tV1men">/pages/nYzmAeHx3yQIx6tV1men</a></td></tr></tbody></table>

## Pick

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>pick.key-substring()</code></strong></td><td>Returns a copy of <a href="/pages/jvEwqTiSGJCyJ9EQ05NG#usdmap"><code>$map</code></a> with keys of <a href="/pages/jvEwqTiSGJCyJ9EQ05NG#usdsubstrings..."><code>$substrings</code></a>.</td><td></td><td><a href="/pages/jvEwqTiSGJCyJ9EQ05NG">/pages/jvEwqTiSGJCyJ9EQ05NG</a></td></tr><tr><td><strong><code>pick.key-type()</code></strong></td><td>Returns a map with values of <a href="/pages/YLZeplJSpRPqjuj9nlx0#usdtypes..."><code>$types</code></a>.</td><td></td><td><a href="/pages/YLZeplJSpRPqjuj9nlx0">/pages/YLZeplJSpRPqjuj9nlx0</a></td></tr><tr><td><strong><code>pick.pattern()</code></strong></td><td>Returns a copy of <a href="/pages/sAFbPqtdxImocrTfP2V3#usdmap"><code>$map</code></a> filtered by using pattern.</td><td></td><td><a href="/pages/sAFbPqtdxImocrTfP2V3">/pages/sAFbPqtdxImocrTfP2V3</a></td></tr><tr><td><strong><code>pick.type()</code></strong></td><td>Picks the properties with values and/or keys of the specified type.</td><td></td><td><a href="/pages/tbZxnpecXiZpS6Y9tgFb">/pages/tbZxnpecXiZpS6Y9tgFb</a></td></tr><tr><td><strong><code>pick.value-type()</code></strong></td><td>Picks the properties with values of the specified <a href="/pages/kgqkgfI3goWFjpOChpDd#usdtypes..."><code>$types</code></a>.</td><td></td><td><a href="/pages/kgqkgfI3goWFjpOChpDd">/pages/kgqkgfI3goWFjpOChpDd</a></td></tr></tbody></table>

## Map

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>map.deep-merge-key()</code></strong></td><td>Merges <a href="/pages/yDXcMKSYwR1MMCeR6Wfn#usdmap"><code>$map</code></a> with retrieved values from <a href="/pages/yDXcMKSYwR1MMCeR6Wfn#usdkeys..."><code>$keys</code></a> of this <a href="/pages/yDXcMKSYwR1MMCeR6Wfn#usdmap"><code>$map</code></a>.</td><td></td><td><a href="/pages/yDXcMKSYwR1MMCeR6Wfn">/pages/yDXcMKSYwR1MMCeR6Wfn</a></td></tr><tr><td><strong><code>map.deep-merge()</code></strong></td><td>Merges multiple maps by using sass original <code>deep-merge()</code>.</td><td><a data-footnote-ref href="#user-content-fn-1">modified</a></td><td><a href="/pages/XT4Z8Hwf4PghXmbVs2nV">/pages/XT4Z8Hwf4PghXmbVs2nV</a></td></tr><tr><td><strong><code>map.get()</code></strong></td><td>Returns the value associated with <a href="/pages/SFhynBQKCtG0KKREwjgz#usdkey"><code>$key</code></a> in <a href="/pages/SFhynBQKCtG0KKREwjgz#usdkey"><code>$map</code></a>, and returns <a href="/pages/SFhynBQKCtG0KKREwjgz#usdfallback-null"><code>$fallback</code></a> if returned is <code>null</code>.</td><td><a data-footnote-ref href="#user-content-fn-2">modified</a></td><td><a href="/pages/SFhynBQKCtG0KKREwjgz">/pages/SFhynBQKCtG0KKREwjgz</a></td></tr><tr><td><strong><code>map.has-keys()</code></strong></td><td>Checks whether <a href="/pages/jyRdYR6zAvxKSma7a3S4#usdmap"><code>$map</code></a> contains <a href="/pages/jyRdYR6zAvxKSma7a3S4#usdkeys..."><code>$keys</code></a>.</td><td></td><td><a href="/pages/jyRdYR6zAvxKSma7a3S4">/pages/jyRdYR6zAvxKSma7a3S4</a></td></tr><tr><td><strong><code>map.key-replace()</code></strong></td><td>Returns the map with key <a href="/pages/rLjW4wTUBOWqEbDS4KwS#usdreplace"><code>$replace</code></a> replaced by <a href="/pages/rLjW4wTUBOWqEbDS4KwS#usdreplacement"><code>$replacement</code></a>.</td><td></td><td><a href="/pages/rLjW4wTUBOWqEbDS4KwS">/pages/rLjW4wTUBOWqEbDS4KwS</a></td></tr><tr><td><strong><code>map.pick()</code></strong></td><td>Returns a copy of <a href="/pages/jK5hQVng0wvezLIUJzMc#usdmap"><code>$map</code></a> of <a href="/pages/jK5hQVng0wvezLIUJzMc#usdkeys..."><code>$keys</code></a>.</td><td></td><td><a href="/pages/jK5hQVng0wvezLIUJzMc">/pages/jK5hQVng0wvezLIUJzMc</a></td></tr><tr><td><strong><code>map.remove-type()</code></strong></td><td>Removes the properties from <a href="/pages/BTKaaxyr81lzcirkSHwx#usdmap"><code>$map</code></a> where values are of <a href="/pages/BTKaaxyr81lzcirkSHwx#usdtypes..."><code>$types</code></a>.</td><td></td><td><a href="/pages/BTKaaxyr81lzcirkSHwx">/pages/BTKaaxyr81lzcirkSHwx</a></td></tr><tr><td><strong><code>map.remove()</code></strong></td><td>The <code>map.remove()</code> function with unified <code>map.remove()</code> and <code>deep-remove()</code> returns a copy <a href="/pages/YevWWgD8zzXHpyCOjgCA#usdmap"><code>$map</code></a> without <a href="/pages/YevWWgD8zzXHpyCOjgCA#usdkeys..."><code>$keys</code></a>.</td><td><a data-footnote-ref href="#user-content-fn-3">modified</a></td><td><a href="/pages/YevWWgD8zzXHpyCOjgCA">/pages/YevWWgD8zzXHpyCOjgCA</a></td></tr><tr><td><strong><code>map.retrieve()</code></strong></td><td>Retrieves a value from <a href="/pages/Du8tWaVxr0OevJP4PGn4#usdmap"><code>$map</code></a> by a <a href="/pages/Du8tWaVxr0OevJP4PGn4#usdmethod"><code>$method</code></a> get or pick with a <a href="/pages/Du8tWaVxr0OevJP4PGn4#usdkey"><code>$key</code></a>.</td><td></td><td><a href="/pages/Du8tWaVxr0OevJP4PGn4">/pages/Du8tWaVxr0OevJP4PGn4</a></td></tr><tr><td><strong><code>map.set()</code></strong></td><td>Sets the <a href="/pages/eA1D2RSFMwcOSbBuLIN8#usdallowed..."><code>$allowed</code></a> <a href="/pages/eA1D2RSFMwcOSbBuLIN8#usdvalue"><code>$value</code></a> under <a href="/pages/eA1D2RSFMwcOSbBuLIN8#usdkey"><code>$key</code></a> in <a href="/pages/eA1D2RSFMwcOSbBuLIN8#usdmap"><code>$map</code></a>.</td><td><a data-footnote-ref href="#user-content-fn-4">modified</a></td><td><a href="/pages/eA1D2RSFMwcOSbBuLIN8">/pages/eA1D2RSFMwcOSbBuLIN8</a></td></tr><tr><td><strong><code>map.update()</code></strong></td><td>Allows to set multiple key-value sets in a <a href="/pages/ucTvmw2EDl40BxFhGUdR#usdmap"><code>$map</code></a>.</td><td></td><td><a href="/pages/ucTvmw2EDl40BxFhGUdR">/pages/ucTvmw2EDl40BxFhGUdR</a></td></tr><tr><td><strong><code>map.values()</code></strong></td><td><p>Returns all values or values of <a href="/pages/OqdQOm2cXFfqhJEFHZCh#usdkeys..."><code>$keys</code></a> from <a href="/pages/OqdQOm2cXFfqhJEFHZCh#usdmap"><code>$map</code></a>.</p><p></p></td><td><a data-footnote-ref href="#user-content-fn-5">modified</a></td><td><a href="/pages/OqdQOm2cXFfqhJEFHZCh">/pages/OqdQOm2cXFfqhJEFHZCh</a></td></tr></tbody></table>

[^1]: The function modify original `map.deep-merge()` by adding arbitrary [`$maps...`](https://docs.angular-package.dev/sass/map/pages/XT4Z8Hwf4PghXmbVs2nV#usdmaps...) argument, to deep merge multiple maps.

[^2]: Modified by removing arbitrary argument `$keys...` and instead, adding [`$fallback`](/sass/map/map.get.md#usdfallback-null) value. To get the nested value use key as comma-separated list. This way of providing key as comma-separated list is consistent with [`map.remove()`](/sass/map/map.remove.md) and [`map.set()`](/sass/map/map.set.md) functions.

[^3]: Modified by adding deep remove on key as comma-separated list. This way of providing key is consistent with a [`map.set()`](/sass/map/map.set.md) and [`map.get()`](/sass/map/map.get.md) functions.

[^4]: Original sass `map.set()` function modified, by adding [`$allowed...`](https://docs.angular-package.dev/sass/map/pages/eA1D2RSFMwcOSbBuLIN8#usdallowed...) arbitrary argument to check if `$value` is allowed to be set.

[^5]: The modified `map.values()` function, by adding arbitrary parameter [`$keys...`](https://docs.angular-package.dev/sass/map/pages/OqdQOm2cXFfqhJEFHZCh#usdkeys...) to return values of the specified keys.
