---
schema_version: "1"
id: ce003da2e267f05d3a4a4f293094cb586c7e7235f4fc2d33049233b778e07a3a
title: 場所
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.6/dw-runtime-functions-location.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.6/dw-runtime-functions-location
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 65ffb35f612d9fffae31e177a85afdc743192c7d6cf7e2f52910079b4e43cd31
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
# 場所

## [](#location1)location(value: Any): Location

特定の値の場所、または DataWeave ファイルまで場所をたどることができない場合は ​`null`​ を返します。

_DataWeave バージョン 2.4.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>value</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">任意の型の値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、​`dw::Core`​ モジュールで ​`sqrt`​ 関数を定義する場所を返します。

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

```DataWeave
%dw 2.0
import location from dw::Runtime
output application/json
---
location(sqrt)
```

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

```JSON
{
  "uri": "/dw/Core.dwl",
  "nameIdentifier": "dw::Core",
  "startLine": 5797,
  "startColumn": 36,
  "endLine": 5797,
  "endColumn": 77
}
```