Open
Description
help?> eachindex
search: eachindex eachline lastindex checkindex getindex firstindex
eachindex(A...)
**In general eachindex accepts arbitrary iterables, including strings and
dictionaries,**
but
julia> d = Dict([:a=>1, :b=>-1])
Dict{Symbol, Int64} with 2 entries:
:a => 1
:b => -1
julia> eachindex(d, d)
ERROR: MethodError: no method matching keys(::Dict{Symbol, Int64}, ::Dict{Symbol, Int64})
the docstring should clarify that only the one-arg method supports arbitrary iterables