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

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

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

_DataWeave バージョン 2.3.0 で導入されました。_​

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

<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">​<code>t</code></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": [

   ]
 }
```