revert exists(), unused

This commit is contained in:
2023-11-12 20:41:06 +01:00
parent 2f56761bf1
commit 4846691c46

View File

@@ -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":