1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-14 11:11:55 +02:00

update doc

This commit is contained in:
Justin Lin 2021-09-09 16:31:42 +08:00
parent 8fb3d5b579
commit 5e7b5f1691
3 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@ This function deletes the mapping for the specified key from a [util/map/hashmap
## Parameters
- `map` : The original map.
- `key` : Adds the specified element to the specified set
- `key` : The specified key.
- `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.

View File

@ -7,7 +7,7 @@ This function gets the value of the specified key from a [util/map/hashmap](http
## Parameters
- `map` : The original map.
- `key` : Adds the specified element to the specified set
- `key` : The specified key.
- `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.

View File

@ -7,6 +7,10 @@ Puts a key/value pair to a [util/map/hashmap](https://openhome.cc/eGossip/OpenSC
## Parameters
- `map` : The original map.
- `key` : The specified key.
- `value` : The specified value.
- `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.
## Examples