Standard LibraryTypesFunctionMethodsget_arityOn this pageget_arity Method of Function. get_arity() -> integer Returns the arity (number of arguments) of the function. Returns The number of arguments the function takes.