Skip to content

arity

arity(symbol): number

Arity returns the number of arguments the operator takes, or -1 for an unknown symbol.

string

number