Skip to content

Commit 81eef60

Browse files
authored
Update src/dict_support.jl
1 parent 1be4fef commit 81eef60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dict_support.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
function not_iterator_of_pairs(kv::T) where T
44
# if the object is not iterable, return true, else check the eltype of the iteration
5-
Base.isiterable(T) && return true
5+
Base.isiterable(T) || return true
66
# else, check if we can check `eltype`:
77
if Base.IteratorEltype(kv) isa Base.HasEltype
88
typ = eltype(kv)

0 commit comments

Comments
 (0)