argumentPosition(forFunction:argument:)
Returns the index into the arguments array for the given function argument.
Declaration
func argumentPosition(forFunction function: String? = nil, argument: String) -> IntParameters
- function:
The function. Specify as
nilif the graph only contains one function. - argument:
The name of the input or output argument.