Skip to content

Commit

Permalink
Fix IsEmpty function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Dec 29, 2023
1 parent 7e7f4bd commit e2b1631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maps/stranysync.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (m MapStrAnySync) Values() []interface{} {
return values
}

//IsEmpty checks whether the map is empty. It returns true if map is empty, or else false.
// IsEmpty checks whether the map is empty. It returns true if map is empty, or else false.
func (m MapStrAnySync) IsEmpty() bool {
empty := true
m.Range(func(key string, value interface{}) bool {
Expand Down

0 comments on commit e2b1631

Please sign in to comment.