package runtime

import 

// CastableTo reports whether a value of the type from is given to a function of WithMarshalers or WithUnmarshalers
// of encoding/json/v2 whose argument is of the type to: as itself, as its address if to is the pointer to it, or as
// its address in an interface value if its pointer type implements to.
func (,  reflect.Type) bool {
	switch .Kind() {
	case reflect.Interface:
		return reflect.PointerTo().Implements()
	case reflect.Pointer:
		return reflect.PointerTo() == 
	default:
		return  == 
	}
}