func-base.go: commented out the param count check
This commit is contained in:
+1
-5
@@ -10,11 +10,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func isNilFunc(ctx ExprContext, name string, args []any) (result any, err error) {
|
func isNilFunc(ctx ExprContext, name string, args []any) (result any, err error) {
|
||||||
if len(args) == 1 {
|
result = args[0] == nil
|
||||||
result = args[0] == nil
|
|
||||||
} else {
|
|
||||||
err = errOneParam(name)
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user