func-base.go: commented out the param count check
This commit is contained in:
parent
624318d84e
commit
52ef134be6
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user