diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-21 13:00:53 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-21 13:00:53 -0500 |
| commit | f868d02b08688c04509d1abda5af89a182033d88 (patch) | |
| tree | af64c48127e0edfebb348edabbccbcc402d2070b /docs/arrays.md | |
| parent | 90573ba7a15bb47a11c1eb6f69ed04c01b69724d (diff) | |
Add `NULL` as a syntax for null values.
Diffstat (limited to 'docs/arrays.md')
| -rw-r--r-- | docs/arrays.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/arrays.md b/docs/arrays.md index 144bcd77..b69ae259 100644 --- a/docs/arrays.md +++ b/docs/arrays.md @@ -363,10 +363,10 @@ The index of the first occurrence or `!Int` if not found. **Example:** ```tomo >> [10, 20, 30, 40, 50]:find(20) -= 2? += 2 : Int? >> [10, 20, 30, 40, 50]:find(9999) -= !Int += NULL : Int? ``` --- @@ -394,9 +394,9 @@ item matches. **Example:** ```tomo >> [4, 5, 6]:find(func(i:&Int): i:is_prime()) -= 5? += 5 : Int? >> [4, 6, 8]:find(func(i:&Int): i:is_prime()) -= !Int += NULL : Int? ``` --- |
