==

in lib/anthropic/internal/type/union.rb [126:131]


        def ==(other)
          
          other.is_a?(Module) && other.singleton_class <= Anthropic::Internal::Type::Union && other.derefed_variants == derefed_variants
          
        end