@arcgis/coding-components 4.29.0-beta.99 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +111 -111
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +113 -113
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +111 -111
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +111 -111
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +111 -111
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +111 -111
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +111 -111
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +111 -111
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +19 -19
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +111 -111
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +111 -111
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +111 -111
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +111 -111
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +111 -111
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +111 -111
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +111 -111
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +111 -111
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +111 -111
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +111 -111
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +111 -111
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +111 -111
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +111 -111
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +111 -111
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +66 -66
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +66 -66
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +111 -111
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +111 -111
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +66 -66
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +111 -111
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +111 -111
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +111 -111
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +111 -111
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +111 -111
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +111 -111
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +111 -111
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +111 -111
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +111 -111
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +66 -66
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +66 -66
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +66 -66
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +4 -4
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +4 -4
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +4 -4
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +4 -4
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +4 -4
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +3 -3
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +3 -3
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +4 -4
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +3 -3
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +4 -4
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +3 -3
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +4 -4
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +4 -4
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +4 -4
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +4 -4
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +4 -4
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +4 -4
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +4 -4
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +4 -4
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +4 -4
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +4 -4
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +4 -4
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +4 -4
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +4 -4
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +4 -4
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +4 -4
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +4 -4
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +4 -4
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +3 -3
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +4 -4
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +4 -4
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +4 -4
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +4 -4
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +4 -4
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +4 -4
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +4 -4
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +4 -4
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +4 -4
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +4 -4
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +4 -4
  82. package/dist/arcgis-coding-components/index.esm.js +2 -2
  83. package/dist/arcgis-coding-components/{p-e1cb02b3.js → p-0a2edf01.js} +2 -2
  84. package/dist/arcgis-coding-components/p-11e79992.js +6 -0
  85. package/dist/arcgis-coding-components/{p-f75beb80.js → p-36e2cbc2.js} +3 -3
  86. package/dist/arcgis-coding-components/{p-457e3916.js → p-4406b5a8.js} +2 -2
  87. package/dist/arcgis-coding-components/{p-87d7ad9e.js → p-4eb30e60.js} +1 -1
  88. package/dist/arcgis-coding-components/{p-7f9d3fdc.js → p-619ca372.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-7e0e8ecc.js → p-71125c69.js} +2 -2
  90. package/dist/arcgis-coding-components/{p-0bab0228.js → p-8d7f0979.js} +2 -2
  91. package/dist/arcgis-coding-components/p-9b8091c1.entry.js +6 -0
  92. package/dist/arcgis-coding-components/{p-ad86a5f5.js → p-bd81fdff.js} +11 -11
  93. package/dist/arcgis-coding-components/{p-f23f7fee.js → p-ecc8dd8a.js} +2 -2
  94. package/dist/arcgis-coding-components/{p-4648782b.js → p-f9016c56.js} +2 -2
  95. package/dist/cjs/{arcade-defaults-5dd9ebb7.js → arcade-defaults-b30ccec8.js} +271 -236
  96. package/dist/cjs/{arcade-mode-0b4c53a1.js → arcade-mode-eb755260.js} +11 -14
  97. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +160 -184
  98. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  99. package/dist/cjs/{css-fe7f8980.js → css-9e907aa0.js} +1 -1
  100. package/dist/cjs/{cssMode-4c9b3a32.js → cssMode-e4189b13.js} +3 -3
  101. package/dist/cjs/{html-b044fbba.js → html-2582ae43.js} +3 -3
  102. package/dist/cjs/{htmlMode-956a6ffa.js → htmlMode-0edcf1ee.js} +3 -3
  103. package/dist/cjs/{index-aaceaf1f.js → index-54d6f9be.js} +1 -1
  104. package/dist/cjs/index.cjs.js +3 -3
  105. package/dist/cjs/{javascript-6c55ac8b.js → javascript-425c653a.js} +4 -4
  106. package/dist/cjs/{jsonMode-d83e322c.js → jsonMode-eea03515.js} +3 -3
  107. package/dist/cjs/loader.cjs.js +3 -3
  108. package/dist/cjs/{tsMode-5c5ffa3e.js → tsMode-b92c9221.js} +3 -3
  109. package/dist/cjs/{typescript-6143656a.js → typescript-cfc1221c.js} +3 -3
  110. package/dist/components/arcade-api.js +20 -18
  111. package/dist/components/arcade-contribution.js +9 -8
  112. package/dist/components/arcade-defaults.js +188 -168
  113. package/dist/components/arcade-mode.js +10 -12
  114. package/dist/components/arcade-results.js +29 -83
  115. package/dist/components/arcade-suggestions.js +15 -12
  116. package/dist/components/arcade-variables.js +30 -21
  117. package/dist/components/arcgis-arcade-api.js +1 -1
  118. package/dist/components/arcgis-arcade-editor.js +61 -49
  119. package/dist/components/arcgis-arcade-results.js +1 -1
  120. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  121. package/dist/components/arcgis-arcade-variables.js +1 -1
  122. package/dist/components/arcgis-code-editor.js +1 -1
  123. package/dist/components/code-editor.js +1 -1
  124. package/dist/components/fields.js +37 -23
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/index2.js +3 -3
  127. package/dist/components/markdown.js +10 -1
  128. package/dist/components/utilities.js +4 -4
  129. package/dist/esm/{arcade-defaults-2d7283d4.js → arcade-defaults-a5dc6132.js} +267 -233
  130. package/dist/esm/{arcade-mode-a8abe5af.js → arcade-mode-d06b6e4f.js} +11 -14
  131. package/dist/esm/arcgis-arcade-api_6.entry.js +160 -184
  132. package/dist/esm/arcgis-coding-components.js +4 -4
  133. package/dist/esm/{css-d31a02ca.js → css-59b4804d.js} +1 -1
  134. package/dist/esm/{cssMode-5ee45e91.js → cssMode-2bce7da7.js} +3 -3
  135. package/dist/esm/{html-5c2e488c.js → html-3ad47fc0.js} +3 -3
  136. package/dist/esm/{htmlMode-376cd5e8.js → htmlMode-6cb73c91.js} +3 -3
  137. package/dist/esm/{index-1b265749.js → index-ee54d182.js} +1 -1
  138. package/dist/esm/index.js +3 -3
  139. package/dist/esm/{javascript-13ddec2b.js → javascript-8917f926.js} +4 -4
  140. package/dist/esm/{jsonMode-674e89d6.js → jsonMode-9a1dbf00.js} +3 -3
  141. package/dist/esm/loader.js +4 -4
  142. package/dist/esm/{tsMode-4c4398d7.js → tsMode-2caf1509.js} +3 -3
  143. package/dist/esm/{typescript-b328b622.js → typescript-a3abccc0.js} +3 -3
  144. package/dist/loader/cdn.js +1 -1
  145. package/dist/loader/index.cjs.js +1 -1
  146. package/dist/loader/index.es2017.js +1 -1
  147. package/dist/loader/index.js +1 -1
  148. package/dist/types/components/arcade-editor/arcade-editor.d.ts +2 -7
  149. package/dist/types/components/arcade-variables/arcade-variables.d.ts +0 -1
  150. package/dist/types/components.d.ts +2 -7
  151. package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +2 -2
  152. package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -0
  153. package/dist/types/utils/constants.d.ts +2 -2
  154. package/dist/types/utils/fields.d.ts +1 -0
  155. package/dist/types/utils/markdown.d.ts +3 -0
  156. package/dist/types/utils/profile/editor-profile.d.ts +49 -63
  157. package/dist/types/utils/profile/types.d.ts +122 -1
  158. package/dist/types/utils/profile/utils.d.ts +22 -9
  159. package/package.json +8 -8
  160. package/dist/arcgis-coding-components/p-6d56a4b8.entry.js +0 -6
  161. package/dist/arcgis-coding-components/p-a75f5087.js +0 -6
  162. package/dist/components/functional-components.js +0 -15
  163. package/dist/types/utils/functional-components.d.ts +0 -7
  164. package/dist/types/utils/json-format.d.ts +0 -1
@@ -145,62 +145,6 @@
145
145
  }
146
146
  ]
147
147
  },
148
- {
149
- "id": "knowledgegraph_functions",
150
- "title": "ก้_Knowledge graph functions__________________________ษฺ",
151
- "items": [
152
- {
153
- "type": "function",
154
- "name": "knowledgegraphbyportalitem",
155
- "bundle": "knowledge-graph",
156
- "sinceVersion": "1.26",
157
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
158
- "description": "ก้_Returns a knowledge graph from a portal item________________________ษฺ.",
159
- "examples": "\n##### ตัวอย่าง\n\nก้_Returns the knowledge graph from the portal item__________________________ษฺ.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
160
- "completion": {
161
- "label": "KnowledgeGraphByPortalItem",
162
- "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
163
- "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
164
- "insertTextMode": 2,
165
- "insertTextFormat": 2,
166
- "kind": 3,
167
- "documentation": {
168
- "kind": "markdown",
169
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nก้_Returns a knowledge graph from a portal item________________________ษฺ.\n\n**พารามิเตอร์**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - ก้_The Portal from which to query features_____________________ษฺ.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________ษฺ\n\n**ส่งคืนค่า**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
170
- }
171
- },
172
- "parametersInfo": {
173
- "min": 2,
174
- "max": 2
175
- }
176
- },
177
- {
178
- "type": "function",
179
- "name": "querygraph",
180
- "bundle": "knowledge-graph",
181
- "sinceVersion": "1.26",
182
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
183
- "description": "ก้_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ษฺ.",
184
- "examples": "\n##### ตัวอย่าง\n\nก้_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________ษฺ.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
185
- "completion": {
186
- "label": "QueryGraph",
187
- "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
188
- "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
189
- "insertTextMode": 2,
190
- "insertTextFormat": 2,
191
- "kind": 3,
192
- "documentation": {
193
- "kind": "markdown",
194
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nก้_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ษฺ.\n\n**พารามิเตอร์**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - ก้_The knowledge graph to query______________________________ษฺ.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ก้_The openCypher query to be executed against the knowledge graph_________________________________ษฺ.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ก้_A dictionary of named query parameters for the openCypher query_________________________________ษฺ. ก้_The parameter names or keys in the dictionary are case-sensitive__________________________________ษฺ. ก้_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________ษฺ\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
195
- }
196
- },
197
- "parametersInfo": {
198
- "min": 2,
199
- "max": 3
200
- }
201
- }
202
- ]
203
- },
204
148
  {
205
149
  "id": "enterprise_functions",
206
150
  "title": "ฟังก์ชัน Enterprise",
@@ -742,8 +686,8 @@
742
686
  "bundle": "data-access",
743
687
  "sinceVersion": "1.25",
744
688
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
745
- "description": "ก้_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________ษฺ.",
746
- "examples": "\n##### ตัวอย่าง\n\nก้_Filter features with the subtype code____________________ษฺ\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
689
+ "description": "สร้างฟีเจอร์เซ็ตใหม่ โดยที่ฟีเจอร์ทั้งหมดตรงกับรหัสประเภทย่อย",
690
+ "examples": "\n##### ตัวอย่าง\n\nกรองฟีเจอร์ด้วยรหัสประเภทย่อย\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
747
691
  "completion": {
748
692
  "label": "FilterBySubtypeCode",
749
693
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -753,7 +697,7 @@
753
697
  "kind": 3,
754
698
  "documentation": {
755
699
  "kind": "markdown",
756
- "value": "**[ตั้งแต่เวอร์ชัน 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nก้_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________ษฺ.\n\n**พารามิเตอร์**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ก้_The FeatureSet, or layer, to filter___________________ษฺ.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ก้_The subtype code used to filter features in the FeatureSet or layer___________________________________ษฺ.\n\n**ส่งคืนค่า**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
700
+ "value": "**[ตั้งแต่เวอร์ชัน 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nสร้างฟีเจอร์เซ็ตใหม่ โดยที่ฟีเจอร์ทั้งหมดตรงกับรหัสประเภทย่อย\n\n**พารามิเตอร์**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet หรือชั้นข้อมูลที่จะกรอง\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - รหัสประเภทย่อยที่ใช้ในการกรองฟีเจอร์ในฟีเจอร์เซ็ตหรือชั้นข้อมูล\n\n**ส่งคืนค่า**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
757
701
  }
758
702
  },
759
703
  "parametersInfo": {
@@ -1467,6 +1411,62 @@
1467
1411
  }
1468
1412
  ]
1469
1413
  },
1414
+ {
1415
+ "id": "knowledge-graph_functions",
1416
+ "title": "ฟังก์ชันกราฟความรู้",
1417
+ "items": [
1418
+ {
1419
+ "type": "function",
1420
+ "name": "knowledgegraphbyportalitem",
1421
+ "bundle": "knowledge-graph",
1422
+ "sinceVersion": "1.26",
1423
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
1424
+ "description": "ส่งคืนกราฟความรู้จากรายการ Portal",
1425
+ "examples": "\n##### ตัวอย่าง\n\nส่งคืนกราฟความรู้จากรายการ Portal\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
1426
+ "completion": {
1427
+ "label": "KnowledgeGraphByPortalItem",
1428
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
1429
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
1430
+ "insertTextMode": 2,
1431
+ "insertTextFormat": 2,
1432
+ "kind": 3,
1433
+ "documentation": {
1434
+ "kind": "markdown",
1435
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนกราฟความรู้จากรายการ Portal\n\n**พารามิเตอร์**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Portal ที่จะคิวรีฟีเจอร์จาก\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - GUID ของรายการ Portal ที่อ้างอิงบริการกราฟความรู้ _ค่านี้ต้องเป็นตัวอักษรข้อความ_\n\n**ส่งคืนค่า**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
1436
+ }
1437
+ },
1438
+ "parametersInfo": {
1439
+ "min": 2,
1440
+ "max": 2
1441
+ }
1442
+ },
1443
+ {
1444
+ "type": "function",
1445
+ "name": "querygraph",
1446
+ "bundle": "knowledge-graph",
1447
+ "sinceVersion": "1.26",
1448
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
1449
+ "description": "คิวรีกราฟความรู้ด้วยคิวรี openCypher และส่งคืนชุดของเอนทิตีและความสัมพันธ์ในกราฟ พร้อมคุณสมบัติ",
1450
+ "examples": "\n##### ตัวอย่าง\n\nคิวรีกราฟความรู้เพื่อหาข้อมูลเกี่ยวกับเอนทิตี `Student` ที่อยู่ในกราฟ\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = \"Eastside Elementary\"\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\nคิวรีกราฟความรู้โดยใช้พารามิเตอร์การผูก\n\n```arcade\n// searches for entities with a `name` property that matches the given string in the query parameters\n// OR falls within the given geom bounding box\n// query returns both the supplier and the part that it buys\nvar query = `MATCH (s:Supplier)-[:buys_part]-(p:Part)\n WHERE s.name=$name OR esri.graph.ST_Intersects($geom, s.geometry)\n RETURN s,p`;\n \n var results = QueryGraph(\n $graph,\n query,\n {\n \"name\": \"Supplier 1\",\n \"geom\": Polygon({\n rings: [[\n [38,-78],\n [39,-79],\n [39,-76],\n [-38,-76],\n [-38,-78]\n ]]\n })\n }\n );\n```\n\n",
1451
+ "completion": {
1452
+ "label": "QueryGraph",
1453
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
1454
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
1455
+ "insertTextMode": 2,
1456
+ "insertTextFormat": 2,
1457
+ "kind": 3,
1458
+ "documentation": {
1459
+ "kind": "markdown",
1460
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nคิวรีกราฟความรู้ด้วยคิวรี openCypher และส่งคืนชุดของเอนทิตีและความสัมพันธ์ในกราฟ พร้อมคุณสมบัติ\n\n**พารามิเตอร์**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - กราฟความรู้ที่จะคิวรี\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - คิวรี openCypher ที่จะดำเนินการกับกราฟความรู้\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - พจนานุกรมของพารามิเตอร์คิวรีแบบระบุชื่อสำหรับคิวรี openCypher ชื่อพารามิเตอร์หรือคีย์ในพจนานุกรมจะต้องตรงตามตัวพิมพ์เล็กใหญ่ พารามิเตอร์ที่ยอมรับจะขึ้นอยู่กับที่จัดเก็บกราฟภายนอก โดยสามารถเป็นประเภท: `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text`\n\n**ส่งคืนค่า**: Array"
1461
+ }
1462
+ },
1463
+ "parametersInfo": {
1464
+ "min": 2,
1465
+ "max": 3
1466
+ }
1467
+ }
1468
+ ]
1469
+ },
1470
1470
  {
1471
1471
  "id": "debugging_functions",
1472
1472
  "title": "ฟังก์ชันการดีบัก",
@@ -3273,8 +3273,8 @@
3273
3273
  "bundle": "core",
3274
3274
  "sinceVersion": "1.26",
3275
3275
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
3276
- "description": "Returns a specified default value if a key in a dictionary does not exist or the value at the specified key is `null` or an empty text value.",
3277
- "examples": "\n##### ตัวอย่าง\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
3276
+ "description": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่คีย์ในพจนานุกรมไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า",
3277
+ "examples": "\n##### ตัวอย่าง\n\nDefaultValue จะส่งคืนค่าที่กำหนดไว้\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nDefaultValue จะส่งคืนค่าเริ่มต้น ในกรณีที่ไม่มีค่า คีย์ที่ระบุ\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nDefaultValue จะส่งคืนค่าเริ่มต้น หากไม่มีคีย์\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
3278
3278
  "completion": {
3279
3279
  "label": "DefaultValue",
3280
3280
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3284,7 +3284,7 @@
3284
3284
  "kind": 3,
3285
3285
  "documentation": {
3286
3286
  "kind": "markdown",
3287
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a key in a dictionary does not exist or the value at the specified key is `null` or an empty text value.\n\n**พารามิเตอร์**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key if defined. Otherwise, returns the value specified in `defaultValue`."
3287
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่คีย์ในพจนานุกรมไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**พารามิเตอร์**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - พจนานุกรมหรือไฟล์แนบที่จะตรวจสอบ\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - คีย์ที่จะตรวจสอบ\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืน หากคีย์ไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า คีย์ที่ระบุ ในกรณีที่กำหนดไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
3288
3288
  }
3289
3289
  },
3290
3290
  "parametersInfo": {
@@ -3297,8 +3297,8 @@
3297
3297
  "name": "defaultvalue",
3298
3298
  "bundle": "core",
3299
3299
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
3300
- "description": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.",
3301
- "examples": "\n##### ตัวอย่าง\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nCheck null value in an array within a dictionary with key that exists\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
3300
+ "description": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่อย่างน้อยหนึ่งในคีย์ในพจนานุกรมที่เนสต์ไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า",
3301
+ "examples": "\n##### ตัวอย่าง\n\nDefaultValue จะส่งคืนค่าที่กำหนดไว้\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nDefaultValue จะส่งคืนค่าเริ่มต้น ในกรณีที่ไม่มีค่า คีย์ที่ระบุ\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nDefaultValue จะส่งคืนค่าเริ่มต้น หากไม่มีคีย์\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nตรวจสอบค่าว่างในอาร์เรย์ภายในพจนานุกรมด้วยคีย์ที่มีอยู่\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
3302
3302
  "completion": {
3303
3303
  "label": "DefaultValue",
3304
3304
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3308,7 +3308,7 @@
3308
3308
  "kind": 3,
3309
3309
  "documentation": {
3310
3310
  "kind": "markdown",
3311
- "value": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.\n\n**พารามิเตอร์**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
3311
+ "value": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่อย่างน้อยหนึ่งในคีย์ในพจนานุกรมที่เนสต์ไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**พารามิเตอร์**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - พจนานุกรมหรือไฟล์แนบที่จะตรวจสอบ\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้างของคอนเทนเนอร์\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืนหากอย่างน้อยหนึ่งในคีย์หรือดัชนีไม่มีอยู่ หรือค่า คีย์หรือดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า คีย์หรือดัชนีที่ระบุ หากกำหนดค่าไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
3312
3312
  }
3313
3313
  },
3314
3314
  "parametersInfo": {
@@ -3499,8 +3499,8 @@
3499
3499
  "bundle": "core",
3500
3500
  "sinceVersion": "1.20",
3501
3501
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
3502
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
3503
- "examples": "\n##### ตัวอย่าง\n\nDictionary with key that has a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nDictionary with key that does not have a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
3502
+ "description": "ระบุว่าพจนานุกรมมีคีย์ที่กำหนดหรือไม่ และคีย์ดังกล่าวมีค่าหรือไม่",
3503
+ "examples": "\n##### ตัวอย่าง\n\nพจนานุกรมที่มีคีย์ซึ่งมีค่า\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nพจนานุกรมที่มีคีย์ซึ่งไม่มีค่า\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nพจนานุกรมที่ไม่มีคีย์ที่กำหนด\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nพจนานุกรมที่ไม่มีคีย์ที่กำหนด\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
3504
3504
  "completion": {
3505
3505
  "label": "HasValue",
3506
3506
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -3510,7 +3510,7 @@
3510
3510
  "kind": 3,
3511
3511
  "documentation": {
3512
3512
  "kind": "markdown",
3513
- "value": "**[ตั้งแต่เวอร์ชัน 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a dictionary has a given key and if that key has a value.\n\n**พารามิเตอร์**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or field name to check.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3513
+ "value": "**[ตั้งแต่เวอร์ชัน 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nระบุว่าพจนานุกรมมีคีย์ที่กำหนดหรือไม่ และคีย์ดังกล่าวมีค่าหรือไม่\n\n**พารามิเตอร์**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - พจนานุกรมหรือไฟล์แนบที่จะตรวจสอบ\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ชื่อคีย์หรือฟิลด์ที่จะตรวจสอบ\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3514
3514
  }
3515
3515
  },
3516
3516
  "parametersInfo": {
@@ -3524,8 +3524,8 @@
3524
3524
  "bundle": "core",
3525
3525
  "sinceVersion": "1.26",
3526
3526
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
3527
- "description": "Checks whether a property nested several levels deep in a dictionary has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.",
3528
- "examples": "\n##### ตัวอย่าง\n\nCheck dictionary with key that has a nested value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nCheck value in a dictionary with key that does not exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nCheck value in an array within a dictionary with key that does exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
3527
+ "description": "ตรวจสอบว่าคุณสมบัติที่เนสต์ลึกหลายระดับในพจนานุกรม มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่า แต่ละระดับ ส่งคืน `true` หากคีย์และดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง",
3528
+ "examples": "\n##### ตัวอย่าง\n\nตรวจสอบพจนานุกรมด้วยคีย์ซึ่งมีค่าที่เนสต์\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nตรวจสอบค่าในพจนานุกรมด้วยคีย์ที่ไม่มีอยู่\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nตรวจสอบค่าในอาร์เรย์ภายในพจนานุกรมด้วยคีย์ที่มีอยู่\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
3529
3529
  "completion": {
3530
3530
  "label": "HasValue",
3531
3531
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -3535,7 +3535,7 @@
3535
3535
  "kind": 3,
3536
3536
  "documentation": {
3537
3537
  "kind": "markdown",
3538
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether a property nested several levels deep in a dictionary has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.\n\n**พารามิเตอร์**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3538
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nตรวจสอบว่าคุณสมบัติที่เนสต์ลึกหลายระดับในพจนานุกรม มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่า แต่ละระดับ ส่งคืน `true` หากคีย์และดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง\n\n**พารามิเตอร์**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - พจนานุกรมหรือไฟล์แนบที่จะตรวจสอบ\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้าง\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3539
3539
  }
3540
3540
  },
3541
3541
  "parametersInfo": {
@@ -3582,7 +3582,7 @@
3582
3582
  "sinceVersion": "1.7",
3583
3583
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
3584
3584
  "description": "ส่งคืนรหัสของคำอธิบายโดเมนที่เชื่อมโยงในฟีเจอร์",
3585
- "examples": "\n##### ตัวอย่าง\n\nพิมพ์คำอธิบายโดเมนสำหรับข้อมูลอ้างอิง\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
3585
+ "examples": "\n##### ตัวอย่าง\n\nพิมพ์รหัสโดเมนของฟิลด์ที่อ้างอิง\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
3586
3586
  "completion": {
3587
3587
  "label": "DomainCode",
3588
3588
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -3805,8 +3805,8 @@
3805
3805
  "bundle": "core",
3806
3806
  "sinceVersion": "1.20",
3807
3807
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
3808
- "description": "Indicates whether a feature has a given field and if that field has a value.",
3809
- "examples": "\n##### ตัวอย่าง\n\nReturn false if feature attribute does not exist or is empty\n\n```arcade\nif(HasValue($feature, \"population\")){\n return $feature.population / AreaGeodetic($feature)\n}\n// Returns the population density if population is available\n```\n\n",
3808
+ "description": "ระบุว่าฟีเจอร์มีฟิลด์ที่กำหนดหรือไม่ และฟิลด์ดังกล่าวมีค่าหรือไม่",
3809
+ "examples": "\n##### ตัวอย่าง\n\nส่งคืนค่าเท็จ หากไม่มีคุณลักษณะฟีเจอร์ หรือว่างเปล่า\n\n```arcade\nif(HasValue($feature, \"population\")){\n return $feature.population / AreaGeodetic($feature)\n}\n// Returns the population density if population is available\n```\n\n",
3810
3810
  "completion": {
3811
3811
  "label": "HasValue",
3812
3812
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -3816,7 +3816,7 @@
3816
3816
  "kind": 3,
3817
3817
  "documentation": {
3818
3818
  "kind": "markdown",
3819
- "value": "**[ตั้งแต่เวอร์ชัน 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a feature has a given field and if that field has a value.\n\n**พารามิเตอร์**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3819
+ "value": "**[ตั้งแต่เวอร์ชัน 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nระบุว่าฟีเจอร์มีฟิลด์ที่กำหนดหรือไม่ และฟิลด์ดังกล่าวมีค่าหรือไม่\n\n**พารามิเตอร์**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - ฟีเจอร์ที่จะตรวจสอบ\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ชื่อฟิลด์ที่จะตรวจสอบ\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3820
3820
  }
3821
3821
  },
3822
3822
  "parametersInfo": {
@@ -4343,8 +4343,8 @@
4343
4343
  "bundle": "core",
4344
4344
  "sinceVersion": "1.26",
4345
4345
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
4346
- "description": "Returns a specified default value if a key in a geometry does not exist or the value at the specified key is `null` or an empty text value.",
4347
- "examples": "\n##### ตัวอย่าง\n\nPoint that has a z-value\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nPoint that does not have a z-value\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
4346
+ "description": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่คีย์ในเรขาคณิตไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า",
4347
+ "examples": "\n##### ตัวอย่าง\n\nจุดที่มีค่า z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nจุดที่ไม่มีค่า z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
4348
4348
  "completion": {
4349
4349
  "label": "DefaultValue",
4350
4350
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -4354,7 +4354,7 @@
4354
4354
  "kind": 3,
4355
4355
  "documentation": {
4356
4356
  "kind": "markdown",
4357
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a key in a geometry does not exist or the value at the specified key is `null` or an empty text value.\n\n**พารามิเตอร์**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key if defined. Otherwise, returns the value specified in `defaultValue`."
4357
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่คีย์ในเรขาคณิตไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**พารามิเตอร์**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - เรขาคณิตอินพุทที่จะตรวจสอบ\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - คีย์ที่จะตรวจสอบ\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืน หากคีย์ไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า คีย์ที่ระบุ ในกรณีที่กำหนดไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
4358
4358
  }
4359
4359
  },
4360
4360
  "parametersInfo": {
@@ -4367,8 +4367,8 @@
4367
4367
  "name": "defaultvalue",
4368
4368
  "bundle": "core",
4369
4369
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
4370
- "description": "Returns a specified default value if at least one of the keys in a geometry's nested properties does not exist or the value at the specified key is `null` or an empty text value.",
4371
- "examples": "\n##### ตัวอย่าง\n\nRing, coordinate, and x value all exist and have a value\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nRing does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nRing and coordinate exist, but m-value does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
4370
+ "description": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่อย่างน้อยหนึ่งในคีย์ในคุณสมบัติที่เนสต์ของเรขาคณิตไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า",
4371
+ "examples": "\n##### ตัวอย่าง\n\nวงแหวน, พิกัด, และค่า x มีอยู่ทั้งหมด และมีค่า\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nวงแหวนไม่มีอยู่\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nมีวงแหวนและพิกัด แต่ไม่มีค่า m\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
4372
4372
  "completion": {
4373
4373
  "label": "DefaultValue",
4374
4374
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -4378,7 +4378,7 @@
4378
4378
  "kind": 3,
4379
4379
  "documentation": {
4380
4380
  "kind": "markdown",
4381
- "value": "Returns a specified default value if at least one of the keys in a geometry's nested properties does not exist or the value at the specified key is `null` or an empty text value.\n\n**พารามิเตอร์**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
4381
+ "value": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่อย่างน้อยหนึ่งในคีย์ในคุณสมบัติที่เนสต์ของเรขาคณิตไม่มีอยู่ หรือค่า คีย์ที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**พารามิเตอร์**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - เรขาคณิตอินพุทที่จะตรวจสอบ\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้างของคอนเทนเนอร์\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืนหากอย่างน้อยหนึ่งในคีย์หรือดัชนีไม่มีอยู่ หรือค่า คีย์หรือดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า คีย์หรือดัชนีที่ระบุ หากกำหนดค่าไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
4382
4382
  }
4383
4383
  },
4384
4384
  "parametersInfo": {
@@ -4543,8 +4543,8 @@
4543
4543
  "bundle": "geometry",
4544
4544
  "sinceVersion": "1.26",
4545
4545
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
4546
- "description": "Returns a coordinate along an input line based on a given distance. If the distance is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
4547
- "examples": "\n##### ตัวอย่าง\n\nReturns the coordinate of the input polyline based on the given distance value\n\n```arcade\nvar result = DistanceToCoordinate(Geometry($feature), 1038);\n\nreturn result.coordinate;\n```\n\n",
4546
+ "description": "ส่งคืนพิกัดตามเส้นอินพุท โดยอิงตามระยะทางที่กำหนด จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด ระยะทางที่กำหนด ระยะทางไม่รวมช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น หากไม่พบระยะทางตามเส้นอินพุท ผลลัพธ์จะเป็น `null`\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ",
4547
+ "examples": "\n##### ตัวอย่าง\n\nส่งคืนพิกัดของโพลีไลน์อินพุท โดยอิงตามค่าระยะทางที่กำหนด\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
4548
4548
  "completion": {
4549
4549
  "label": "DistanceToCoordinate",
4550
4550
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -4554,7 +4554,7 @@
4554
4554
  "kind": 3,
4555
4555
  "documentation": {
4556
4556
  "kind": "markdown",
4557
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a coordinate along an input line based on a given distance. If the distance is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties. If the distance is not found along the input line, then the result will be `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The coordinates of a point along `inputLine` based on the given distance value. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
4557
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนพิกัดตามเส้นอินพุท โดยอิงตามระยะทางที่กำหนด จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด ระยะทางที่กำหนด ระยะทางไม่รวมช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น หากไม่พบระยะทางตามเส้นอินพุท ผลลัพธ์จะเป็น `null`\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เส้นหรือเส้นทางซึ่งจะค้นหาพิกัดจาก เมื่อใช้ฟีเจอร์เป็นอินพุท เรขาคณิตของฟีเจอร์ต้องเป็นโพลีไลน์\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางที่ใช้ในการค้นหาพิกัดตาม `inputLine` จากจุดเริ่มต้นของเส้น จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด ระยะทางที่กำหนด ระยะทางไม่รวมช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น \n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้ หากไม่พบระยะทางตามเส้นอินพุท ผลลัพธ์จะเป็น `null`\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - พิกัดของจุดตาม `inputLine` อิงตามค่าระยะทางที่กำหนด\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากจุดเริ่มต้นของ `inputLine` ที่วัดตามเส้นไปยัง `coordinate` ในโพลีไลน์ที่เส้นทางไม่เชื่อมต่อกัน ค่า `distanceAlong` จะไม่รวมระยะทางของช่องว่างระหว่างเวอร์เท็กซ์เริ่มต้นและสิ้นสุดของเส้นทาง\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ในกรณีของอินพุทโพลีไลน์ จะได้แก่ดัชนีของเส้นทางที่ `coordinate` อยู่\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ดัชนี (สัมพันธ์กับเส้นทาง) ของเซกเมนต์เส้น ซึ่ง `coordinate` อยู่ หาก `coordinate` แสดงเวอร์เท็กซ์ของเส้นอินพุท `segmentId` จะส่งคืนดัชนีของเวอร์เท็กซ์ก่อนหน้า หาก `coordinate` เป็นเวอร์เท็กซ์แรกของ `inputLine` ค่าของ `segmentId` จะเป็น `0`"
4558
4558
  }
4559
4559
  },
4560
4560
  "parametersInfo": {
@@ -4742,8 +4742,8 @@
4742
4742
  "bundle": "core",
4743
4743
  "sinceVersion": "1.26",
4744
4744
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
4745
- "description": "Indicates whether a geometry has a value at a given key or index.",
4746
- "examples": "\n##### ตัวอย่าง\n\nPoint that has a z value\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPolygon with key that does not exist\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
4745
+ "description": "ระบุว่าเรขาคณิตมีค่า คีย์หรือดัชนีที่กำหนดหรือไม่",
4746
+ "examples": "\n##### ตัวอย่าง\n\nจุดที่มีค่า z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nโพลีกอนด้วยคีย์ที่ไม่มีอยู่\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
4747
4747
  "completion": {
4748
4748
  "label": "HasValue",
4749
4749
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -4753,7 +4753,7 @@
4753
4753
  "kind": 3,
4754
4754
  "documentation": {
4755
4755
  "kind": "markdown",
4756
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a geometry has a value at a given key or index.\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or property name to check.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4756
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nระบุว่าเรขาคณิตมีค่า คีย์หรือดัชนีที่กำหนดหรือไม่\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - เรขาคณิตที่จะตรวจสอบ\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ชื่อคีย์หรือคุณสมบัติที่จะตรวจสอบ\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4757
4757
  }
4758
4758
  },
4759
4759
  "parametersInfo": {
@@ -4767,8 +4767,8 @@
4767
4767
  "bundle": "core",
4768
4768
  "sinceVersion": "1.26",
4769
4769
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
4770
- "description": "Checks whether a property or index nested several levels deep in a geometry has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.",
4771
- "examples": "\n##### ตัวอย่าง\n\nRing, coordinate, and x value all exist and have a value\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nRing does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nRing and coordinate exist, but m value does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,3,\"m\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[0][3].m;\n // there is a coordinate at this location, but it does not have an m value\n}\n```\n\n",
4770
+ "description": "ตรวจสอบว่าคุณสมบัติหรือดัชนีที่เนสต์ลึกหลายระดับในเรขาคณิต มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่า แต่ละระดับ ส่งคืน `true` หากคีย์และดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง",
4771
+ "examples": "\n##### ตัวอย่าง\n\nวงแหวน, พิกัด, และค่า x มีอยู่ทั้งหมด และมีค่า\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nวงแหวนไม่มีอยู่\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nมีวงแหวนและพิกัด แต่ไม่มีค่า m\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,3,\"m\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[0][3].m;\n // there is a coordinate at this location, but it does not have an m value\n}\n```\n\n",
4772
4772
  "completion": {
4773
4773
  "label": "HasValue",
4774
4774
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -4778,7 +4778,7 @@
4778
4778
  "kind": 3,
4779
4779
  "documentation": {
4780
4780
  "kind": "markdown",
4781
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether a property or index nested several levels deep in a geometry has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4781
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nตรวจสอบว่าคุณสมบัติหรือดัชนีที่เนสต์ลึกหลายระดับในเรขาคณิต มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่า แต่ละระดับ ส่งคืน `true` หากคีย์และดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - พจนานุกรมหรือฟีเจอร์ที่จะตรวจสอบ\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้าง\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4782
4782
  }
4783
4783
  },
4784
4784
  "parametersInfo": {
@@ -4968,8 +4968,8 @@
4968
4968
  "bundle": "geometry",
4969
4969
  "sinceVersion": "1.26",
4970
4970
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
4971
- "description": "Returns a coordinate along an input line based on a given measure, or m-value. If the measure is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
4972
- "examples": "\n##### ตัวอย่าง\n\nReturns the coordinate of the input polyline based on the given measure value\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
4971
+ "description": "ส่งคืนพิกัดแรกตามเส้นอินพุท อิงตามการวัดที่กำหนด หรือค่า m หากไม่พบการวัดตามเส้นอินพุท ผลลัพธ์จะเป็น `null` จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด การวัดที่กำหนด การวัดไม่มีช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ",
4972
+ "examples": "\n##### ตัวอย่าง\n\nส่งคืนพิกัดของโพลีไลน์อินพุท โดยอิงตามค่าการวัดที่กำหนด\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
4973
4973
  "completion": {
4974
4974
  "label": "MeasureToCoordinate",
4975
4975
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -4979,7 +4979,7 @@
4979
4979
  "kind": 3,
4980
4980
  "documentation": {
4981
4981
  "kind": "markdown",
4982
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a coordinate along an input line based on a given measure, or m-value. If the measure is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties. If the measure is not found along the input line, then the result will be `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The coordinates of a point along `inputLine` based on the given measure value. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
4982
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนพิกัดแรกตามเส้นอินพุท อิงตามการวัดที่กำหนด หรือค่า m หากไม่พบการวัดตามเส้นอินพุท ผลลัพธ์จะเป็น `null` จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด การวัดที่กำหนด การวัดไม่มีช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เส้นหรือเส้นทางซึ่งจะค้นหาพิกัดจาก เส้นอินพุทต้องมี `hasM` เป็น `true` หาก `hasM` เป็น `false`, จะส่งคืน `null` เมื่อใช้ฟีเจอร์เป็นอินพุท เรขาคณิตของฟีเจอร์ต้องเป็นโพลีไลน์\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - การวัด หรือค่า m ที่จะค้นหาพิกัดตาม `inputLine` จากจุดเริ่มต้นของเส้น จะพิจารณาส่วนทั้งหมดของเส้น ขณะพยายามค้นหาพิกัด การวัดที่กำหนด การวัดไม่มีช่องว่างระหว่างเส้นทาง (หรือส่วนต่างๆ ) ของเส้น\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้ หากไม่พบการวัดตามเส้นอินพุท ผลลัพธ์จะเป็น `null`\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - พิกัดแรกของจุดตาม `inputLine` อิงตามค่าการวัดที่กำหนด\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากจุดเริ่มต้นของ `inputLine` ที่วัดตามเส้นไปยัง `coordinate` ในโพลีไลน์ที่เส้นทางไม่เชื่อมต่อกัน ค่า `distanceAlong` จะไม่รวมระยะทางของช่องว่างระหว่างเวอร์เท็กซ์เริ่มต้นและสิ้นสุดของเส้นทาง\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ในกรณีของอินพุทโพลีไลน์ จะได้แก่ดัชนีของเส้นทางที่ `coordinate` อยู่\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ดัชนี (สัมพันธ์กับเส้นทาง) ของเซกเมนต์เส้น ซึ่ง `coordinate` อยู่ หาก `coordinate` แสดงเวอร์เท็กซ์ของเส้นอินพุท `segmentId` จะส่งคืนดัชนีของเวอร์เท็กซ์ก่อนหน้า หาก `coordinate` เป็นเวอร์เท็กซ์แรกของ `inputLine` ค่าของ `segmentId` จะเป็น `0`"
4983
4983
  }
4984
4984
  },
4985
4985
  "parametersInfo": {
@@ -5103,7 +5103,7 @@
5103
5103
  "kind": 3,
5104
5104
  "documentation": {
5105
5105
  "kind": "markdown",
5106
- "value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนพิกัดที่ใกล้ที่สุด (ไม่ใช่เวอร์เท็กซ์) ของเรขาคณิตอินพุท ไปยังจุดค้นหา พจนานุกรมที่ส่งคืน จะมีระยะทางระนาบที่สั้นที่สุด จากจุดค้นหาไปยังพิกัดที่ใกล้ที่สุด หากจุดค้นหาตัดกับเรขาคณิตอินพุท จุดค้นหาจะถูกส่งคืนเป็นผลลัพธ์ที่มีระยะทางศูนย์\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เรขาคณิตที่จะรับพิกัดที่ใกล้ที่สุดจาก\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - จุดที่จะค้นหาพิกัดที่ใกล้ที่สุดของ `inputGeometry` จาก\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - พิกัดที่ใกล้ที่สุดจาก `inputGeometry` ไปยัง `searchPoint`\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากพิกัดที่ใกล้ที่สุดไปยัง `searchPoint` ค่านี้จะแสดงระยะทางที่ใกล้ที่สุดระหว่าง `inputGeometry` และ `searchPoint`\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
5106
+ "value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนพิกัดที่ใกล้ที่สุด (ไม่ใช่เวอร์เท็กซ์) ของเรขาคณิตอินพุท ไปยังจุดค้นหา พจนานุกรมที่ส่งคืน จะมีระยะทางระนาบที่สั้นที่สุด จากจุดค้นหาไปยังพิกัดที่ใกล้ที่สุด หากจุดค้นหาตัดกับเรขาคณิตอินพุท จุดค้นหาจะถูกส่งคืนเป็นผลลัพธ์ที่มีระยะทางศูนย์\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เรขาคณิตที่จะรับพิกัดที่ใกล้ที่สุดจาก\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - จุดที่จะค้นหาพิกัดที่ใกล้ที่สุดของ `inputGeometry` จาก\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - พิกัดที่ใกล้ที่สุดจาก `inputGeometry` ไปยัง `searchPoint`\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากพิกัดที่ใกล้ที่สุดไปยัง `searchPoint` ค่านี้จะแสดงระยะทางที่ใกล้ที่สุดระหว่าง `inputGeometry` และ `searchPoint`\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ความสัมพันธ์เชิงพื้นที่ระหว่าง `searchPoint` และเซกเมนต์ของ `inputGeometry` ที่ไปถึงพิกัดที่ใกล้ที่สุด ค่าที่เป็นไปได้: \n\n`left` - `searchPoint` อยู่ทางด้านซ้ายของ `inputGeometry`\n\n`right` - `searchPoint` อยู่ทางด้านขวาของ `inputGeometry`\n\n`straddle` - `searchPoint` คร่อม หรืออยู่ด้านบนของ `inputGeometry`"
5107
5107
  }
5108
5108
  },
5109
5109
  "parametersInfo": {
@@ -5128,7 +5128,7 @@
5128
5128
  "kind": 3,
5129
5129
  "documentation": {
5130
5130
  "kind": "markdown",
5131
- "value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนเวอร์เท็กซ์ที่ใกล้ที่สุดของเรขาคณิตอินพุทไปยังจุดค้นหา พจนานุกรมที่ส่งคืน จะรวมระยะทางระนาบจากจุดค้นหาไปยังเวอร์เท็กซ์ที่ใกล้ที่สุด\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เรขาคณิตที่จะรับเวอร์เท็กซ์ที่ใกล้ที่สุดจาก\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - จุดที่จะค้นหาเวอร์เท็กซ์ที่ใกล้ที่สุดของ `inputGeometry` จาก\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - ตำแหน่งจุดที่แสดงเวอร์เท็กซ์ที่ใกล้ที่สุดจาก `inputGeometry` ไปยัง `searchPoint`\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากเวอร์เท็กซ์ที่ใกล้ที่สุดของเรขาคณิตอินพุทไปยัง `searchPoint`\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
5131
+ "value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนเวอร์เท็กซ์ที่ใกล้ที่สุดของเรขาคณิตอินพุทไปยังจุดค้นหา พจนานุกรมที่ส่งคืน จะรวมระยะทางระนาบจากจุดค้นหาไปยังเวอร์เท็กซ์ที่ใกล้ที่สุด\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เรขาคณิตที่จะรับเวอร์เท็กซ์ที่ใกล้ที่สุดจาก\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - จุดที่จะค้นหาเวอร์เท็กซ์ที่ใกล้ที่สุดของ `inputGeometry` จาก\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - ตำแหน่งจุดที่แสดงเวอร์เท็กซ์ที่ใกล้ที่สุดจาก `inputGeometry` ไปยัง `searchPoint`\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากเวอร์เท็กซ์ที่ใกล้ที่สุดของเรขาคณิตอินพุทไปยัง `searchPoint`\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ความสัมพันธ์เชิงพื้นที่ระหว่าง `searchPoint` และเซกเมนต์ของ `inputGeometry` ที่ไปถึงเวอร์เท็กซ์ที่ใกล้ที่สุด ค่าที่เป็นไปได้: \n\n`left` - `searchPoint` อยู่ทางด้านซ้ายของ `inputGeometry`\n\n`right` - `searchPoint` อยู่ทางด้านขวาของ `inputGeometry`\n\n`straddle` - `searchPoint` คร่อม หรืออยู่ด้านบนของ `inputGeometry`"
5132
5132
  }
5133
5133
  },
5134
5134
  "parametersInfo": {
@@ -5242,8 +5242,8 @@
5242
5242
  "bundle": "geometry",
5243
5243
  "sinceVersion": "1.26",
5244
5244
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
5245
- "description": "Returns the nearest coordinate and distance to that coordinate of the search point to the input line.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
5246
- "examples": "\n##### ตัวอย่าง\n\nReturns the distance to the nearest coordinate along the input polyline based on the clicked location to open a popup\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
5245
+ "description": "ส่งคืนพิกัดที่ใกล้ที่สุด และระยะทางไปยังพิกัดดังกล่าวของจุดค้นหาถึงเส้นอินพุท\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ",
5246
+ "examples": "\n##### ตัวอย่าง\n\nส่งคืนระยะทางไปยังพิกัดที่ใกล้ที่สุด ตามโพลีไลน์อินพุท อิงตามตำแหน่งที่คลิกเพื่อเปิดป็อปอัพ\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
5247
5247
  "completion": {
5248
5248
  "label": "PointToCoordinate",
5249
5249
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -5253,7 +5253,7 @@
5253
5253
  "kind": 3,
5254
5254
  "documentation": {
5255
5255
  "kind": "markdown",
5256
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest coordinate and distance to that coordinate of the search point to the input line.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point coordinate representing the nearest coordinate along the `inputLine` to the `searchPoint`. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the `searchPoint` to the `coordinate`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
5256
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนพิกัดที่ใกล้ที่สุด และระยะทางไปยังพิกัดดังกล่าวของจุดค้นหาถึงเส้นอินพุท\n\nเรขาคณิต _Feature ในโปรไฟล์การแสดงภาพและการติดป้ายกำกับ จะถูกตั้งเป็นค่าแบบทั่วไปตามความละเอียดสเกลของมุมมอง เพื่อเพิ่มประสิทธิภาพการวาด ดังนั้น ให้ใช้เรขาคณิตของฟีเจอร์ (เช่น `$feature`) เป็นอินพุทของฟังก์ชันเรขาคณิตใดๆ ในบริบทเหล่านี้ จะส่งคืนผลลัพธ์ที่แตกต่างกันในแต่ละระดับสเกล โปรไฟล์อื่นๆ เช่น ป็อปอัพ จะให้เรขาคณิตความละเอียดเต็มรูปแบบ\n\n**พารามิเตอร์**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - เส้นหรือเส้นทางที่จะรับพิกัดที่ใกล้ที่สุดจาก เมื่อใช้ฟีเจอร์เป็นอินพุท เรขาคณิตของฟีเจอร์ต้องเป็นโพลีไลน์\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - จุดที่จะค้นหาพิกัดที่ใกล้ที่สุดของ `inputLine`\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติต่อไปนี้\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - พิกัดจุดที่แสดงพิกัดที่ใกล้ที่สุดตาม `inputLine` ถึง `searchPoint` หาก `hasZ` เป็น `false` ใน `searchPoint`, จะดำเนินการค้นหาในพิกัด x/y และประมาณค่าในช่วงค่า z\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจาก `searchPoint` ถึง `coordinate`\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ระยะทางระนาบจากจุดเริ่มต้นของ `inputLine` ที่วัดตามเส้นไปยัง `coordinate` ในโพลีไลน์ที่เส้นทางไม่เชื่อมต่อกัน ค่า `distanceAlong` จะไม่รวมระยะทางของช่องว่างระหว่างเวอร์เท็กซ์เริ่มต้นและสิ้นสุดของเส้นทาง\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ในกรณีของอินพุทโพลีไลน์ จะได้แก่ดัชนีของเส้นทางที่ `coordinate` อยู่\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ดัชนี (สัมพันธ์กับเส้นทาง) ของเซกเมนต์เส้น ซึ่ง `coordinate` อยู่ หาก `coordinate` แสดงเวอร์เท็กซ์ของเส้นอินพุท `segmentId` จะส่งคืนดัชนีของเวอร์เท็กซ์ก่อนหน้า หาก `coordinate` เป็นเวอร์เท็กซ์แรกของ `inputLine` ค่าของ `segmentId` จะเป็น `0`"
5257
5257
  }
5258
5258
  },
5259
5259
  "parametersInfo": {
@@ -6123,7 +6123,7 @@
6123
6123
  "bundle": "core",
6124
6124
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
6125
6125
  "description": "ลบวันที่สองวัน แล้วส่งคืนส่วนต่างในหน่วยที่กำหนด",
6126
- "examples": "\n##### ตัวอย่าง\n\nลบวันที่สองวันและส่งคืนอายุ\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nก้_Subtracts two Dates and returns the difference_________________________ษฺ.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
6126
+ "examples": "\n##### ตัวอย่าง\n\nลบวันที่สองวันและส่งคืนอายุ\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nลบวันที่สองวันและส่งคืนส่วนต่าง\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
6127
6127
  "completion": {
6128
6128
  "label": "DateDiff",
6129
6129
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -7158,8 +7158,8 @@
7158
7158
  "bundle": "core",
7159
7159
  "sinceVersion": "1.26",
7160
7160
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
7161
- "description": "Returns a specified default value if an index in an array does not exist or the value at the specified index is `null` or an empty text value.",
7162
- "examples": "\n##### ตัวอย่าง\n\nArray with value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nArray with no value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nArray with a null value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
7161
+ "description": "ส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่ดัชนีในอาร์เรยไม่มีอยู่ หรือค่า ดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า",
7162
+ "examples": "\n##### ตัวอย่าง\n\nอาร์เรย์ที่มีค่า ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nอาร์เรย์ที่มีค่าว่าง ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
7163
7163
  "completion": {
7164
7164
  "label": "DefaultValue",
7165
7165
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -7169,7 +7169,7 @@
7169
7169
  "kind": 3,
7170
7170
  "documentation": {
7171
7171
  "kind": "markdown",
7172
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if an index in an array does not exist or the value at the specified index is `null` or an empty text value.\n\n**พารามิเตอร์**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified index if defined. Otherwise, returns the value specified in `defaultValue`."
7172
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nส่งคืนค่าเริ่มต้นที่ระบุ ในกรณีที่ดัชนีในอาร์เรยไม่มีอยู่ หรือค่า ดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**พารามิเตอร์**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - อาร์เรย์อินพุทที่จะตรวจสอบ\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ดัชนีที่จะตรวจสอบ\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืน หากดัชนีไม่มีอยู่ หรือค่า ดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า ดัชนีที่ระบุ ในกรณีที่กำหนดไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
7173
7173
  }
7174
7174
  },
7175
7175
  "parametersInfo": {
@@ -7182,8 +7182,8 @@
7182
7182
  "name": "defaultvalue",
7183
7183
  "bundle": "core",
7184
7184
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
7185
- "description": "Checks whether an index nested several levels deep in a multidimensional array has a value and returns that value if present. Otherwise, this function returns a specified default value if at least one of the nested keys or indices does not exist or the value at the specified key or index is `null` or an empty text value. This allows you to drill into a nested structure in one step rather than check values within each array.",
7186
- "examples": "\n##### ตัวอย่าง\n\nArray with a value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 3], \"No data\");\n// returns 1\n```\n\nArray with no value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 10], \"No data\");\n// returns \"No data\"\n```\n\nArray with no value at the parent index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nArray of dictionaries with nested values\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nDefaultValue(a, [0, \"weather\",\"precipitation\",\"values\", 6], \"No data\");\n// returns 1\n```\n\n",
7185
+ "description": "ตรวจสอบว่าดัชนีที่เนสต์ลึกหลายระดับในอาร์เรย์หลายมิติ มีค่าอยู่หรือไม่ และส่งคืนค่าดังกล่าวหากพบ หากไม่ ฟังก์ชันนี้จะส่งคืนค่าเริ่มต้นที่ระบุไว้ ในกรณีที่อย่างน้อยหนึ่งในคีย์หรือดัชนีที่เนสต์ไม่มีอยู่ หรือค่า คีย์หรือดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่าภายในแต่ละอาร์เรย์",
7186
+ "examples": "\n##### ตัวอย่าง\n\nอาร์เรย์ที่มีค่า ดัชนีที่เนสต์\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 3], \"No data\");\n// returns 1\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีที่เนสต์\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 10], \"No data\");\n// returns \"No data\"\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีหลัก\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nอาร์เรย์ของพจนานุกรมซึ่งมีค่าที่เนสต์\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nDefaultValue(a, [0, \"weather\",\"precipitation\",\"values\", 6], \"No data\");\n// returns 1\n```\n\n",
7187
7187
  "completion": {
7188
7188
  "label": "DefaultValue",
7189
7189
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -7193,7 +7193,7 @@
7193
7193
  "kind": 3,
7194
7194
  "documentation": {
7195
7195
  "kind": "markdown",
7196
- "value": "Checks whether an index nested several levels deep in a multidimensional array has a value and returns that value if present. Otherwise, this function returns a specified default value if at least one of the nested keys or indices does not exist or the value at the specified key or index is `null` or an empty text value. This allows you to drill into a nested structure in one step rather than check values within each array.\n\n**พารามิเตอร์**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
7196
+ "value": "ตรวจสอบว่าดัชนีที่เนสต์ลึกหลายระดับในอาร์เรย์หลายมิติ มีค่าอยู่หรือไม่ และส่งคืนค่าดังกล่าวหากพบ หากไม่ ฟังก์ชันนี้จะส่งคืนค่าเริ่มต้นที่ระบุไว้ ในกรณีที่อย่างน้อยหนึ่งในคีย์หรือดัชนีที่เนสต์ไม่มีอยู่ หรือค่า คีย์หรือดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่าภายในแต่ละอาร์เรย์\n\n**พารามิเตอร์**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - อาร์เรย์อินพุทที่จะตรวจสอบ\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้างของคอนเทนเนอร์\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ค่านี้จะถูกส่งคืนหากอย่างน้อยหนึ่งในคีย์หรือดัชนีไม่มีอยู่ หรือค่า คีย์หรือดัชนีที่ระบุเป็น `null` หรือเป็นค่าข้อความว่างเปล่า\n\n**ส่งคืนค่า**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nส่งคืนค่า คีย์หรือดัชนีที่ระบุ หากกำหนดค่าไว้ หากไม่ จะส่งคืนค่าที่ระบุไว้ใน `defaultValue`"
7197
7197
  }
7198
7198
  },
7199
7199
  "parametersInfo": {
@@ -7360,8 +7360,8 @@
7360
7360
  "bundle": "core",
7361
7361
  "sinceVersion": "1.26",
7362
7362
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
7363
- "description": "Indicates whether an array has a value at the given index.",
7364
- "examples": "\n##### ตัวอย่าง\n\nArray with value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nArray with no value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nArray with a null value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
7363
+ "description": "ระบุว่าอาร์เรย์มีค่า ดัชนีที่กำหนดไว้หรือไม่",
7364
+ "examples": "\n##### ตัวอย่าง\n\nอาร์เรย์ที่มีค่า ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nอาร์เรย์ที่มีค่าว่าง ดัชนีที่กำหนด\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
7365
7365
  "completion": {
7366
7366
  "label": "HasValue",
7367
7367
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -7371,7 +7371,7 @@
7371
7371
  "kind": 3,
7372
7372
  "documentation": {
7373
7373
  "kind": "markdown",
7374
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**พารามิเตอร์**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7374
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nระบุว่าอาร์เรย์มีค่า ดัชนีที่กำหนดไว้หรือไม่\n\n**พารามิเตอร์**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - อาร์เรย์ที่จะตรวจสอบ\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ดัชนีที่จะตรวจสอบ\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7375
7375
  }
7376
7376
  },
7377
7377
  "parametersInfo": {
@@ -7385,8 +7385,8 @@
7385
7385
  "bundle": "core",
7386
7386
  "sinceVersion": "1.26",
7387
7387
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
7388
- "description": "Checks whether an index nested several levels deep in a multidimensional array has a value. This allows you to drill into a nested structure in one step rather than check values within each array. Returns `true` if the indexes at each level of the structure exist and include a non-null value.",
7389
- "examples": "\n##### ตัวอย่าง\n\nArray with a value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nArray with no value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nArray with no value at the parent index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nArray of dictionaries with nested values\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nif(HasValue(a, [0, \"weather\",\"precipitation\",\"values\", 6])){\n // This check succeeds so the value will be returned\n return a[0].weather.precipitation.values[6];\n // returns 1\n}\n```\n\n",
7388
+ "description": "ตรวจสอบว่าดัชนีที่เนสต์ลึกหลายระดับในอาร์เรย์หลายมิติ มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่าภายในแต่ละอาร์เรย์ ส่งคืน `true` หากมีดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง",
7389
+ "examples": "\n##### ตัวอย่าง\n\nอาร์เรย์ที่มีค่า ดัชนีที่เนสต์\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีที่เนสต์\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nอาร์เรย์ที่ไม่มีค่า ดัชนีหลัก\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nอาร์เรย์ของพจนานุกรมซึ่งมีค่าที่เนสต์\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nif(HasValue(a, [0, \"weather\",\"precipitation\",\"values\", 6])){\n // This check succeeds so the value will be returned\n return a[0].weather.precipitation.values[6];\n // returns 1\n}\n```\n\n",
7390
7390
  "completion": {
7391
7391
  "label": "HasValue",
7392
7392
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -7396,7 +7396,7 @@
7396
7396
  "kind": 3,
7397
7397
  "documentation": {
7398
7398
  "kind": "markdown",
7399
- "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether an index nested several levels deep in a multidimensional array has a value. This allows you to drill into a nested structure in one step rather than check values within each array. Returns `true` if the indexes at each level of the structure exist and include a non-null value.\n\n**พารามิเตอร์**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7399
+ "value": "**[ตั้งแต่เวอร์ชัน 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nตรวจสอบว่าดัชนีที่เนสต์ลึกหลายระดับในอาร์เรย์หลายมิติ มีค่าอยู่หรือไม่ ซึ่งจะช่วยให้คุณสามารถเจาะลึกเข้าไปในโครงสร้างที่เนสต์ได้ในขั้นตอนเดียว แทนการตรวจสอบค่าภายในแต่ละอาร์เรย์ ส่งคืน `true` หากมีดัชนี แต่ละระดับของโครงสร้างอยู่ และรวมค่าที่ไม่ใช่ค่าว่าง\n\n**พารามิเตอร์**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - อาร์เรย์ที่จะตรวจสอบ\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - อาร์เรย์ของคีย์หรือดัชนีที่จะตรวจสอบในแต่ละระดับของโครงสร้าง\n\n**ส่งคืนค่า**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7400
7400
  }
7401
7401
  },
7402
7402
  "parametersInfo": {