simplified GotReal

This commit is contained in:
Christian Goll
2022-04-08 15:15:16 +02:00
parent ae2b1ce2ae
commit fa052a0f57

View File

@@ -213,10 +213,7 @@ func (ent *Entry) GetRealSlice() []string {
true if the entry has set a real value, else false.
*/
func (ent *Entry) GotReal() bool {
if len(ent.value) == 0 {
return false
}
return true
return len(ent.value) != 0
}
/**********