module Turbopuffer::Internal::Type::Union

def ===(other)

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --

Other tags:
    Api: - public
def ===(other)
  known_variants.any? do |_, variant_fn|
    variant_fn.call === other
  end
end