mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
5263d63271
This commit updates the Arity function to return zero if the type is known and -1 if the type is unknown. This makes the Arity function behave the same as the GetArity function on the compiler which was used for similar purposes. Signed-off-by: Torin Sandall <torinsandall@gmail.com>