diff options
Diffstat (limited to 'devdocs/elisp/other-hash.html')
| -rw-r--r-- | devdocs/elisp/other-hash.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devdocs/elisp/other-hash.html b/devdocs/elisp/other-hash.html new file mode 100644 index 00000000..54874cbc --- /dev/null +++ b/devdocs/elisp/other-hash.html @@ -0,0 +1,22 @@ + <h3 class="section">Other Hash Table Functions</h3> <p>Here are some other functions for working with hash tables. </p> <dl> <dt id="hash-table-p">Function: <strong>hash-table-p</strong> <em>table</em> +</dt> <dd><p>This returns non-<code>nil</code> if <var>table</var> is a hash table object. </p></dd> +</dl> <dl> <dt id="copy-hash-table">Function: <strong>copy-hash-table</strong> <em>table</em> +</dt> <dd><p>This function creates and returns a copy of <var>table</var>. Only the table itself is copied—the keys and values are shared. </p></dd> +</dl> <dl> <dt id="hash-table-count">Function: <strong>hash-table-count</strong> <em>table</em> +</dt> <dd><p>This function returns the actual number of entries in <var>table</var>. </p></dd> +</dl> <dl> <dt id="hash-table-test">Function: <strong>hash-table-test</strong> <em>table</em> +</dt> <dd><p>This returns the <var>test</var> value that was given when <var>table</var> was created, to specify how to hash and compare keys. See <code>make-hash-table</code> (see <a href="creating-hash">Creating Hash</a>). </p></dd> +</dl> <dl> <dt id="hash-table-weakness">Function: <strong>hash-table-weakness</strong> <em>table</em> +</dt> <dd><p>This function returns the <var>weak</var> value that was specified for hash table <var>table</var>. </p></dd> +</dl> <dl> <dt id="hash-table-rehash-size">Function: <strong>hash-table-rehash-size</strong> <em>table</em> +</dt> <dd><p>This returns the rehash size of <var>table</var>. </p></dd> +</dl> <dl> <dt id="hash-table-rehash-threshold">Function: <strong>hash-table-rehash-threshold</strong> <em>table</em> +</dt> <dd><p>This returns the rehash threshold of <var>table</var>. </p></dd> +</dl> <dl> <dt id="hash-table-size">Function: <strong>hash-table-size</strong> <em>table</em> +</dt> <dd><p>This returns the current nominal size of <var>table</var>. </p></dd> +</dl><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br> + <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Other-Hash.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Other-Hash.html</a> + </p> +</div> |
