You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/manual/interfaces.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ to generically build upon those behaviors.
17
17
|`eltype(IterType)`|`Any`| The type of the first entry of the tuple returned by `iterate()`|
18
18
|`length(iter)`| (*undefined*) | The number of items, if known |
19
19
|`size(iter, [dim])`| (*undefined*) | The number of items in each dimension, if known |
20
+
|`Base.isdone(iter[, state])`|`missing`| Fast-path hint for iterator completion. Should be defined for mutable iterators, or else `isempty(iter)` will call `iterate(iter[, state])` and may mutate the iterator. |
20
21
21
22
| Value returned by `IteratorSize(IterType)`| Required Methods |
0 commit comments