github.com/3JoB/go-reflect@v1.0.1/reflect113.go (about)

     1  //go:build go1.13
     2  // +build go1.13
     3  
     4  package reflect
     5  
     6  // IsZero reports whether v is the zero value for its type.
     7  // It panics if the argument is invalid.
     8  func (v Value) IsZero() bool {
     9  	return toRV(v).IsZero()
    10  }