globalIndex
Gets the index in this list of a parameter at indexInKind in its kind.
For example, to get the index in this list of the second value parameter, use globalIndex(Kind.VALUE, 2).
Applies bounds and presence checks.
Throws
if no parameters of kind are present, or indexInKind is out of bounds for the parameters of kind.