diff options
Diffstat (limited to 'man/man3/tomo-Table.get.3')
| -rw-r--r-- | man/man3/tomo-Table.get.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/man/man3/tomo-Table.get.3 b/man/man3/tomo-Table.get.3 index ce0b1f95..87dc40ec 100644 --- a/man/man3/tomo-Table.get.3 +++ b/man/man3/tomo-Table.get.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Table.get 3 2025-11-09 "Tomo man-pages" +.TH Table.get 3 2025-11-29 "Tomo man-pages" .SH NAME Table.get \- get an item from a table .SH LIBRARY @@ -19,11 +19,11 @@ Retrieves the value associated with a key, or returns `none` if the key is not p .TS allbox; -lb lb lbx lb -l l l l. -Name Type Description Default -t {K:V} The table. - -key K The key whose associated value is to be retrieved. - +lb lb lbx +l l l. +Name Type Description +t {K:V} The table. +key K The key whose associated value is to be retrieved. .TE .SH RETURN The value associated with the key or `none` if the key is not found. @@ -39,3 +39,5 @@ assert t.get("????") == none assert t.get("A")! == 1 assert t.get("????") or 0 == 0 .EE +.SH SEE ALSO +.BR Tomo-Table (3) |
