github.com/fumiama/terasu@v0.0.0-20240507144117-547a591149c0/utils.go (about)

     1  package terasu
     2  
     3  import (
     4  	"reflect"
     5  )
     6  
     7  func isTypeEqual(obj any, name string) bool {
     8  	return reflect.ValueOf(obj).Type().String() == name
     9  }