Skip to content

Commit

Permalink
Merge pull request #389 from Eclalang/issue-#388-remove-checktypeoflist
Browse files Browse the repository at this point in the history
removed the function
  • Loading branch information
tot0p authored May 25, 2024
2 parents 0588c3a + 8113936 commit 8cf1a40
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions interpreter/eclaType/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,15 +354,6 @@ func (l *List) GetValueType() string {

// utils Functions for lists trainmen

func CheckTypeOfList(l *List, t string) bool {
for _, v := range l.Value {
if v.GetType() != l.Typ {
return false
}
}
return true
}

func IsList(t string) bool {
// via []int or []string [][]int ,string int map[string]int []map[string]int
if !(len(t) <= 2) {
Expand Down

0 comments on commit 8cf1a40

Please sign in to comment.