getarg

Syntax

native getarg(arg, index = 0);

Usage

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

Description

Retrieves an argument value passed into the currently executed function.

Return

Argument value at given index