in lib/anthropic/internal/type/boolean.rb [16:54]
def self.===(other) = other == true || other == false
def self.==(other) = other.is_a?(Class) && other <= Anthropic::Internal::Type::Boolean
class << self
def coerce(value, state:)
state.fetch(:exactness)[value == true || value == false ? :yes : :no] += 1
value
end
end