diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-19 14:48:17 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-19 14:48:17 -0400 |
| commit | 1663004ff08de9d90338cb3c04bbf45e61477d6b (patch) | |
| tree | 36f8bdd60f976537c8582769881193169fca1827 /man/man3/tomo-Table.get.3 | |
| parent | 67fd3c725e6511adf70345f0733ec0b948477a11 (diff) | |
Minor formatting fixes
Diffstat (limited to 'man/man3/tomo-Table.get.3')
| -rw-r--r-- | man/man3/tomo-Table.get.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man/man3/tomo-Table.get.3 b/man/man3/tomo-Table.get.3 index 8d336835..9f2b9f60 100644 --- a/man/man3/tomo-Table.get.3 +++ b/man/man3/tomo-Table.get.3 @@ -2,19 +2,19 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Table.get 3 2025-04-19T14:30:40.366804 "Tomo man-pages" +.TH Table.get 3 2025-04-19T14:48:15.716525 "Tomo man-pages" .SH NAME -Table.get \- Retrieves the value associated with a key, or returns `none` if the key is not present. **Note:** default values for the table are ignored. +Table.get \- Retrieves the value associated with a key, or returns `none` if the key is not present. .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf -.BI "Table.get : func(t: {K=V}, key: K -> V?)" +.BI Table.get\ :\ func(t:\ {K=V},\ key:\ K\ ->\ V?) .fi .SH DESCRIPTION -Retrieves the value associated with a key, or returns `none` if the key is not present. **Note:** default values for the table are ignored. +Retrieves the value associated with a key, or returns `none` if the key is not present. .TS @@ -28,6 +28,9 @@ key K The key whose associated value is to be retrieved. - .SH RETURN The value associated with the key or `none` if the key is not found. +.SH NOTES +Default values for the table are ignored. + .SH EXAMPLES .EX >> t := {"A"=1, "B"=2} |
