Skip to content

Commit

Permalink
Merge pull request #19 from trheyi/main
Browse files Browse the repository at this point in the history
Fix IsEmpty function comment
  • Loading branch information
trheyi authored Dec 29, 2023
2 parents 5fad328 + e2b1631 commit 4c99273
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 4c99273

Please sign in to comment.