Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da44ae07ab |
No files matched your search
@@ -43,7 +43,10 @@ type AnyType struct {
|
||||
//
|
||||
// Date : 18:21 2023/6/1
|
||||
func (at *AnyType) IsNil() bool {
|
||||
return at.data == nil
|
||||
if at.data == nil {
|
||||
return true
|
||||
}
|
||||
return reflect.ValueOf(at.data).IsNil()
|
||||
}
|
||||
|
||||
// Type 获取类型
|
||||
|
||||