refactored data-types to reduce plugin sizes
This commit is contained in:
+2
-1
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
"git.portale-stac.it/go-pkg/expr/kern"
|
||||
"git.portale-stac.it/go-pkg/expr/scan"
|
||||
"git.portale-stac.it/go-pkg/expr/types/boolean"
|
||||
)
|
||||
|
||||
//-------- map term
|
||||
@@ -117,7 +118,7 @@ func (it *filterIterator) Next() (item any, err error) {
|
||||
ctx.DeleteVar("_")
|
||||
|
||||
if err == nil {
|
||||
if success, valid := kern.ToBool(result); valid {
|
||||
if success, valid := boolean.ToBool(result); valid {
|
||||
if success {
|
||||
item = attempt
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user