Skip to content

Commit

Permalink
revert exists(), unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Dein committed Nov 12, 2023
1 parent 2f56761 commit 4846691
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ func contains(s []string, e string) bool {
return false
}

func exists(m map[string]interface{}, item string) bool {
// FIXME: try to use this for all cases
if _, ok := m[item]; ok {
return true
}

return false
}

func const2num(name string) float64 {
switch name {
case "Pi":
Expand Down

0 comments on commit 4846691

Please sign in to comment.