self.[]

in lib/anthropic/internal/type/array_of.rb [26:41]


        def self.[](type_info, spec = {}) = new(type_info, spec)

        
        
        
        def ===(other) = other.is_a?(Array) && other.all?(item_type)

        
        
        
        def ==(other)
          
          other.is_a?(Anthropic::Internal::Type::ArrayOf) && other.nilable? == nilable? && other.item_type == item_type
          
        end