<!DOCTYPE html><htmlclass="default"lang="en"><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>GPIOPortMap | node-web-gpio</title><metaname="description"content="Documentation for node-web-gpio"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../assets/navigation.js"id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os";document.body.style.display="none";setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"data-base=".."><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">node-web-gpio</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../modules.html">node-web-gpio</a></li><li><ahref="GPIOPortMap.html">GPIOPortMap</a></li></ul><h1>Class GPIOPortMap</h1></div><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><p>Different from Web GPIO API specification.</p>
</div><asideclass="tsd-sources"><p>Inherited from Map.size</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:45</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="_species_"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Static</code><codeclass="tsd-tag">Readonly</code><span>[species]</span><ahref="#_species_"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">[species]</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">MapConstructor</span></div><asideclass="tsd-sources"><p>Inherited from Map.[species]</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:319</li></ul></aside></section></section></details><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Methods"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="_iterator_"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>[iterator]</span><ahref="#_iterator_"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="_iterator_._iterator_-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">[iterator]</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-symbol">[</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">]</span><spanclass="tsd-signature-symbol">></span><ahref="#_iterator_._iterator_-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns an iterable of entries in the map.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-symbol">[</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">]</span><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.[iterator]</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:143</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="clear"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>clear</span><ahref="#clear"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="clear.clear-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">clear</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#clear.clear-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><asideclass="tsd-sources"><p>Inherited from Map.clear</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:20</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="delete"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>delete</span><ahref="#delete"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="delete.delete-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">delete</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">key</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#delete.delete-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">key</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if an element in the Map existed and has been removed, or false if the element does not exist.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.delete</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:24</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="entries"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>entries</span><ahref="#entries"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="entries.entries-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">entries</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-symbol">[</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">]</span><spanclass="tsd-signature-symbol">></span><ahref="#entries.entries-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns an iterable of key, value pairs for every entry in the map.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-symbol">[</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">]</span><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.entries</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:148</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="forEach"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>for<wbr/>Each</span><ahref="#forEach"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="forEach.forEach-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">for<wbr/>Each</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">callbackfn</span>, <spanclass="tsd-kind-parameter">thisArg</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#forEach.forEach-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Executes a provided function once per each key/value pair in the Map, in insertion order.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">callbackfn</span>: <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">value</span><spanclass="tsd-signature-symbol">: </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a>, <spanclass="tsd-kind-parameter">key</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span>, <spanclass="tsd-kind-parameter">map</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Map</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol"> =></span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">)</span></span><ulclass="tsd-parameters"><liclass="tsd-parameter-signature"><ulclass="tsd-signatures tsd-is-external"><liclass="tsd-signature"><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">value</span>, <spanclass="tsd-kind-parameter">key</span>, <spanclass="tsd-kind-parameter">map</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">value</span>: <ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a></span></li><li><span><spanclass="tsd-kind-parameter">key</span>: <spanclass="tsd-signature-type">number</span></span></li><li><span><spanclass="tsd-kind-parameter">map</span>: <spanclass="tsd-signature-type">Map</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">></span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4></li></ul></li></ul></li><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">thisArg</span>: <spanclass="tsd-signature-type">any</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.forEach</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:28</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="get"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get</span><ahref="#get"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="get.get-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">key</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">undefined</span><spanclass="tsd-signature-symbol"> | </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><ahref="#get.get-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns a specified element from the Map object. If the value that is associated to
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">key</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">undefined</span><spanclass="tsd-signature-symbol"> | </span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a></h4><p>Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.get</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:33</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="has"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has</span><ahref="#has"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="has.has-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">key</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#has.has-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">key</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>boolean indicating whether an element with the specified key exists or not.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.has</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:37</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="keys"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>keys</span><ahref="#keys"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="keys.keys-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">keys</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">></span><ahref="#keys.keys-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns an iterable of keys in the map</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.keys</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:153</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set</span><ahref="#set"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set.set-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">key</span>, <spanclass="tsd-kind-parameter">value</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set.set-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">key</span>: <spanclass="tsd-signature-type">number</span></span></li><li><span><spanclass="tsd-kind-parameter">value</span>: <ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.set</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:41</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="values"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>values</span><ahref="#values"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="values.values-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">values</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">></span><ahref="#values.values-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns an iterable of values in the map</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">MapIterator</span><spanclass="tsd-signature-symbol"><</span><ahref="GPIOPort.html"class="tsd-signature-type tsd-kind-class">GPIOPort</a><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Map.values</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:158</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="groupBy"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Static</code><span>group<wbr/>By</span><ahref="#groupBy"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="groupBy.groupBy-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">group<wbr/>By</span><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.K">K</a><spanclass="tsd-signature-symbol">, </span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.T">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">items</span>, <spanclass="tsd-kind-parameter">keySelector</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Map</span><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.K">K</a><spanclass="tsd-signature-symbol">, </span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.T">T</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">></span><ahref="#groupBy.groupBy-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Groups members of an iterable according to the return value of the passed callback.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">keySelector</span>: <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">item</span><spanclass="tsd-signature-symbol">: </span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.T">T</a>, <spanclass="tsd-kind-parameter">index</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol"> =></span><aclass="tsd-signature-type tsd-kind-type-parameter"href="GPIOPortMap.html#groupBy.groupBy-1.K">K</a><spanclass="tsd-signature-symbol">)</span></span><divclass="tsd-comment tsd-typography"><p>A callback which will be invoked for each item in items.</p>