Contents

argumentPosition(forFunction:argument:)

Returns the index into the arguments array for the given function argument.

Declaration

func argumentPosition(forFunction function: String? = nil, argument: String) -> Int

Parameters

  • function:

    The function. Specify as nil if the graph only contains one function.

  • argument:

    The name of the input or output argument.

See Also

Related Documentation

Specifying and querying a graph context’s properties