---
schema_version: "1"
id: ad4930024a035afaf136998d643f2c8311402d2219941a8a89b47c28ed6d75b3
title: 場所
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-runtime-functions-location.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-runtime-functions-location
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2fe7298991f4f0f45d74fd016d0c1bf1c29dc97ee0c174de4e57edbaff9d34d5
description: MuleSoft Documentation Site
release: "2.4"
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
}
```