1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 10:44:48 +02:00

update doc

This commit is contained in:
Justin Lin
2021-03-21 10:54:07 +08:00
parent 75af4895b9
commit 15bc7f7095

View File

@@ -15,8 +15,8 @@ This function maps keys to values. You can use the following to process the retu
## Parameters
- `kv_lt` : Constructs a new map containing the `[key, value]`s in the specified list. It can be ignored if you want an empty map.
- `eq` : A equality function. If it's ignored, use `==` to compare elements.
- `hash` : A hash function. If it's ignored, convert each element to a string and hash it.
- `eq` : A equality function. If it's ignored, use `==` to compare keys.
- `hash` : A hash function. If it's ignored, convert each key to a string and hash it.
- `number_of_buckets` : The function uses a hash table internally. Change the number of buckets if you're trying to do optimization.
## Examples