aboutsummaryrefslogtreecommitdiff
path: root/docs/arrays.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/arrays.md')
-rw-r--r--docs/arrays.md8
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?
```
---