# File rbs-2.1.0/lib/rbs/types.rb, line 1029
def ==(other)
other.is_a?(Block) &&
other.type == type &&
other.required == required
end
# File rbs-2.1.0/lib/rbs/types.rb, line 1049
def map_type(&block)
Block.new(
required: required,
type: type.map_type(&block)
)
end