IsZero returns true if all identifiers have zero-values.
()
| 93 | |
| 94 | // IsZero returns true if all identifiers have zero-values. |
| 95 | func (ids *UserIdentifiers) IsZero() bool { |
| 96 | if ids == nil { |
| 97 | return true |
| 98 | } |
| 99 | return ids.GetUserId() == "" && ids.GetEmail() == "" |
| 100 | } |
| 101 | |
| 102 | // IsZero returns true if all identifiers have zero-values. |
| 103 | func (ids *MACSettingsProfileIdentifiers) IsZero() bool { |