---
schema_version: "1"
id: 6850306549b4b0fb90f4b3253defe1dbbcf9e7e64ea7ab5b19c685242db6544f
title: functionParamTypes
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-types-functions-functionparamtypes.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-types-functions-functionparamtypes
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 3ee8131724852df5915351ff7e927274c1c42666126d795ff1b29428d8853d3b
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# functionParamTypes

## [](#functionparamtypes1)functionParamTypes(Type): Array<FunctionParam>

特定の関数型からパラメーターのリストを返します。 指定された型が Function (関数) 型でない場合、この関数は失敗します。

_DataWeave 2.3.0 で導入されました。Mule 4.3 以降でサポートされます。_​

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">t</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">関数型。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`functionParamTypes`​ の動作を示します。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
output application/json
import * from dw::core::Types
type AFunction = (String, Number) -> Number
type AFunction2 = () -> Number
---
{
    a: functionParamTypes(AFunction),
    b: functionParamTypes(AFunction2)
}
```

#### [](#出力)出力

```Json
 {
    "a": [
      {
        "paramType": "String",
        "optional": false
      },
      {
        "paramType": "Number",
        "optional": false
      }
    ],
    "b": [

    ]
  }
```