endof
endof(collection) -> Integer
Returns the last index of the collection.
julia> endof([1,2,4])
3
Examples
julia> foo = [1,2,3];
julia> endof(foo)
3
julia> str = "hello";
julia> endof(str)
5
julia> bar = zeros(Int64, 5, 2);
julia> endof(bar)
10
See Also
append!, delete!, deleteat!, empty!, endof, filter, filter!, gc, get!, getkey, haskey, insert!, isempty, keys, map, map!, merge, merge!, pop!, prepend!, push!, reduce, resize!, shift!, splice!, unshift!, values,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.