← All docs

func_num_args()

Returns the number of arguments passed to the current function call.

func_num_args()

function func_num_args(): int

Returns the number of arguments passed to the current function call.

Parameters: none.

Returns: int

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how func_num_args is implemented in the compiler, see the internals page.