func_num_args()
function func_num_args(): int
Returns the number of arguments passed to the current function call.
Parameters: none.
Returns: int
Availability
- Compiled (AOT): supported through the Elephc compiler.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/func_num_args.rs).
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.