From 6c088b024d5a768e511392db23231c7fba85d0be Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 16 Aug 2025 17:21:31 -0400 Subject: Remove whitespace --- api/tables.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'api/tables.yaml') diff --git a/api/tables.yaml b/api/tables.yaml index f3b648da..46f45db9 100644 --- a/api/tables.yaml +++ b/api/tables.yaml @@ -13,7 +13,7 @@ Table.clear: The reference to the table. example: | >> t.clear() - + Table.get: short: get an item from a table description: > @@ -37,16 +37,16 @@ Table.get: >> t := {"A"=1, "B"=2} >> t.get("A") = 1? - + >> t.get("????") = none - + >> t.get("A")! = 1 - + >> t.get("????") or 0 = 0 - + Table.get_or_set: short: get an item or set a default if absent description: > @@ -86,7 +86,7 @@ Table.get_or_set: = @[0, 0, 0] >> t = &{"A"=@[1, 2, 3, 4], "B"=@[99], "C"=@[0, 0, 0]} - + Table.has: short: check for a key description: > @@ -109,7 +109,7 @@ Table.has: = yes >> {"A"=1, "B"=2}.has("xxx") = no - + Table.remove: short: remove a table entry description: > @@ -132,7 +132,7 @@ Table.remove: t.remove("A") >> t = {"B"=2} - + Table.set: short: set a table entry description: > @@ -159,7 +159,7 @@ Table.set: t.set("C", 3) >> t = {"A"=1, "B"=2, "C"=3} - + Table.with_fallback: short: return a table with a new fallback description: > -- cgit v1.2.3