native

getarg

Syntax

native getarg(arg, index = 0);

Description

Retrieves an argument value passed into the currently executed function.

Parameters

arg Argument index
index Index to retrieve from the argument (for arrays and strings)

Return

Argument value at given index