You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,10 @@ Insert a new key/value pair in the hashmap. The key must be a string, and the va
40
40
41
41
Lookup a value from its key. Will return undefined if the key does not exist.
42
42
43
+
### `has ( key )`
44
+
45
+
Check if key exists. Will return false if the key does not exist; otherwise true.
46
+
43
47
### `remove ( key )`
44
48
45
49
Remove a key/value pair by its key. If the key does not exist, no action will be performed and it will return false. If a pair is removed, then it will return true.
0 commit comments