The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ func boolFunc(ctx kern.ExprContext, name string, args map[string]any) (result an
|
||||
result = v
|
||||
case string:
|
||||
result = len(v) > 0
|
||||
case *array.ListType:
|
||||
case *array.ArrayType:
|
||||
result = len(*v) > 0
|
||||
case *dict.DictType:
|
||||
result = len(*v) > 0
|
||||
|
||||
Reference in New Issue
Block a user