done

done(iter, state) -> Bool

Test whether we are done iterating

Examples

julia> foo = [1,2,3,4,5];
julia> done(foo, 3)
false
julia> done(foo, 7)
true
julia> done("hello", 6)
true

See Also

countfrom, cycle, done, drop, eachindex, enumerate, first, repeated, rest, start, svds, take, vecdot, vecnorm, zip,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: