diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-05 00:40:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-05 00:40:52 -0500 |
| commit | 899e2cd3f1ea5f598947c7862d8f76378191b369 (patch) | |
| tree | a590027864b899b22bcc9eb921a55910f50de6f2 /docs/tables.md | |
| parent | 9a3162633d358c9dc698b2733027981203514dc9 (diff) | |
Further shorten docs
Diffstat (limited to 'docs/tables.md')
| -rw-r--r-- | docs/tables.md | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/tables.md b/docs/tables.md index a687c0c5..42af25d4 100644 --- a/docs/tables.md +++ b/docs/tables.md @@ -144,7 +144,6 @@ iterating over any of the new values. Increments the value associated with a key by a specified amount. If the key is not already in the table, its value will be assumed to be zero. -**Signature:** ```tomo func bump(t:@{K,V}, key: K, amount: Int = 1 -> Void) ``` @@ -170,7 +169,6 @@ t:bump("B", 10) ### `clear` Removes all key-value pairs from the table. -**Signature:** ```tomo func clear(t:@{K,V}) ``` @@ -190,7 +188,6 @@ Nothing. ### `get` Retrieves the value associated with a key, or returns null if the key is not present. -**Signature:** ```tomo func get(t:{K,V}, key: K -> V?) ``` @@ -222,7 +219,6 @@ The value associated with the key or null if the key is not found. ### `has` Checks if the table contains a specified key. -**Signature:** ```tomo func has(t:{K,V}, key: K -> Bool) ``` @@ -246,7 +242,6 @@ func has(t:{K,V}, key: K -> Bool) ### `remove` Removes the key-value pair associated with a specified key. -**Signature:** ```tomo func remove(t:{K,V}, key: K -> Void) ``` @@ -270,7 +265,6 @@ t:remove("A") ### `set` Sets or updates the value associated with a specified key. -**Signature:** ```tomo func set(t:{K,V}, key: K, value: V -> Void) ``` |
