get

operator fun get(name: String): Parameter?(source)

Get the parameter named name, if present. Cannot be used with "this", as it could refer to the dispatch or extension receiver.

Throws


operator fun get(kind: Parameter.Kind, indexInKind: Int): Parameter(source)

Get a parameter by its index in its own kind. For example, get(Kind.VALUE, 2) gets the third value parameter.

See also