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