Type.arity#

property Type.arity#

Return the arity of the function type.

Some function argument types may consume several function arguments (e.g., data pointer and data size). The arity of function type is the number of functon arguments that are consumed when constructing a call.

Arguments with default value are ignored.