functionParamTypes(t: Type): Array<FunctionParam>
Returns the list of parameters from the given function type. This function fails if the provided type is not a Function type.
Introduced in DataWeave version 2.3.0.
Example
This example shows how functionParamTypes behaves with different inputs.