diff --git a/src/equality.jl b/src/equality.jl index 21d556a..5b0ed27 100644 --- a/src/equality.jl +++ b/src/equality.jl @@ -158,6 +158,7 @@ Base.in(x::MLJType, itr::Set) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractVector{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractRange{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple) = special_in(x, itr) +Base.in(x::MLJType, itr::Tuple{(Any for _ in 1:32)..., Vararg{Any}}) = special_in(x, itr) # A version of `in` that actually uses `==`: