Skip to content

BIND003: expression-function-arity

Wrong number of arguments for an expression function

Code BIND003
Name expression-function-arity
Category Bindings and expressions (BIND)
Default severity error
Enabled by default yes
Fix available no
ign-lint equivalent none

Checks the argument count of every call to a known expression function against the counts the gateway accepts when it compiles the expression (including functions with optional and repeated arguments).

Ignition rejects the expression at compile time ("wrong number of arguments"), so the binding never evaluates.

dateFormat(now(0))

Use instead:

dateFormat(now(0), "yyyy-MM-dd HH:mm")

Generated from the rule metadata by iglint generate-docs; iglint rule BIND003 prints the same page in the terminal. Source: docs/rules/BIND003.md.