@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": "geometry_functions",
206
150
  "title": "Геометричні функції",
@@ -618,8 +562,8 @@
618
562
  "bundle": "core",
619
563
  "sinceVersion": "1.26",
620
564
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
621
- "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.",
622
- "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",
565
+ "description": "Повертає задане значення за замовчуванням, якщо ключ у геометрії не існує або значення за заданим ключем дорівнює null або є порожнім текстовим значенням.",
566
+ "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",
623
567
  "completion": {
624
568
  "label": "DefaultValue",
625
569
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -629,7 +573,7 @@
629
573
  "kind": 3,
630
574
  "documentation": {
631
575
  "kind": "markdown",
632
- "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`."
576
+ "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."
633
577
  }
634
578
  },
635
579
  "parametersInfo": {
@@ -642,8 +586,8 @@
642
586
  "name": "defaultvalue",
643
587
  "bundle": "core",
644
588
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
645
- "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.",
646
- "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",
589
+ "description": "Повертає задане значення за замовчуванням, якщо принаймні один із ключів у вкладених властивостях геометрії не існує або значення за заданим ключем дорівнює null або є порожнім текстовим значенням.",
590
+ "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",
647
591
  "completion": {
648
592
  "label": "DefaultValue",
649
593
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -653,7 +597,7 @@
653
597
  "kind": 3,
654
598
  "documentation": {
655
599
  "kind": "markdown",
656
- "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)<[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`."
600
+ "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)<[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."
657
601
  }
658
602
  },
659
603
  "parametersInfo": {
@@ -818,8 +762,8 @@
818
762
  "bundle": "geometry",
819
763
  "sinceVersion": "1.26",
820
764
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
821
- "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._",
822
- "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",
765
+ "description": "Повертає координату вздовж вхідної лінії на основі заданої відстані. При спробі знайти координату на заданій відстані враховуються всі частини лінії. Відстань не включає проміжки між шляхами (або частинами) лінії. Якщо відстань уздовж вхідної лінії не знайдено, результат буде null.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._",
766
+ "examples": "\n##### Приклад\n\nПовертає координату вхідної полілінії на основі заданого значення відстані\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
823
767
  "completion": {
824
768
  "label": "DistanceToCoordinate",
825
769
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -829,7 +773,7 @@
829
773
  "kind": 3,
830
774
  "documentation": {
831
775
  "kind": "markdown",
832
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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`."
776
+ "value": "**[Починаючи з версії 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає координату вздовж вхідної лінії на основі заданої відстані. При спробі знайти координату на заданій відстані враховуються всі частини лінії. Відстань не включає проміжки між шляхами (або частинами) лінії. Якщо відстань уздовж вхідної лінії не знайдено, результат буде null.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._\n\n**Параметри**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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, виміряна вздовж лінії, до координати. У полілініях, де шляхи не з’єднуються, значення distanceAlong не включає відстань проміжків між початковою та кінцевою вершинами шляхів.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - У разі введення полілінії, індекс шляху, до якого належить координата.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Індекс (відносно шляху) сегмента лінії, до якого належить координата. Якщо координата представляє вершину вхідної лінії, то segmentId поверне індекс попередньої вершини. Якщо координата є першою вершиною inputLine, тоді значення segmentId буде дорівнювати 0."
833
777
  }
834
778
  },
835
779
  "parametersInfo": {
@@ -1017,8 +961,8 @@
1017
961
  "bundle": "core",
1018
962
  "sinceVersion": "1.26",
1019
963
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
1020
- "description": "Indicates whether a geometry has a value at a given key or index.",
1021
- "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",
964
+ "description": "Вказує, чи має геометрія значення за заданим ключем або індексом.",
965
+ "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",
1022
966
  "completion": {
1023
967
  "label": "HasValue",
1024
968
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -1028,7 +972,7 @@
1028
972
  "kind": 3,
1029
973
  "documentation": {
1030
974
  "kind": "markdown",
1031
- "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)"
975
+ "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)"
1032
976
  }
1033
977
  },
1034
978
  "parametersInfo": {
@@ -1042,8 +986,8 @@
1042
986
  "bundle": "core",
1043
987
  "sinceVersion": "1.26",
1044
988
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
1045
- "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.",
1046
- "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",
989
+ "description": "Перевіряє, чи має значення властивість або індекс, вкладений на кілька рівнів у геометрію. Це дозволяє детально ознайомитись із вкладеною структурою за один крок, а не перевіряти значення на кожному рівні. Повертає значення true, якщо ключі та індекси на кожному рівні структури існують і включають ненульове значення.",
990
+ "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",
1047
991
  "completion": {
1048
992
  "label": "HasValue",
1049
993
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -1053,7 +997,7 @@
1053
997
  "kind": 3,
1054
998
  "documentation": {
1055
999
  "kind": "markdown",
1056
- "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)<[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 structure.\n\n**Повернуте значення**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1000
+ "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)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Масив ключів або індексів для перевірки на кожному рівні структури.\n\n**Повернуте значення**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1057
1001
  }
1058
1002
  },
1059
1003
  "parametersInfo": {
@@ -1243,8 +1187,8 @@
1243
1187
  "bundle": "geometry",
1244
1188
  "sinceVersion": "1.26",
1245
1189
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
1246
- "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._",
1247
- "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",
1190
+ "description": "Повертає першу координату вздовж вхідної лінії на основі заданого показника або m-значення. Якщо показник вздовж вхідної лінії не знайдено, результат буде null. При спробі знайти координату за заданим показником враховуються всі частини лінії. Показник не включає проміжки між шляхами (або частинами) лінії.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._",
1191
+ "examples": "\n##### Приклад\n\nПовертає координату вхідної полілінії на основі заданого значення показника\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
1248
1192
  "completion": {
1249
1193
  "label": "MeasureToCoordinate",
1250
1194
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -1254,7 +1198,7 @@
1254
1198
  "kind": 3,
1255
1199
  "documentation": {
1256
1200
  "kind": "markdown",
1257
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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`."
1201
+ "value": "**[Починаючи з версії 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає першу координату вздовж вхідної лінії на основі заданого показника або m-значення. Якщо показник вздовж вхідної лінії не знайдено, результат буде null. При спробі знайти координату за заданим показником враховуються всі частини лінії. Показник не включає проміжки між шляхами (або частинами) лінії.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._\n\n**Параметри**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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, виміряна вздовж лінії, до координати. У полілініях, де шляхи не з’єднуються, значення distanceAlong не включає відстань проміжків між початковою та кінцевою вершинами шляхів.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - У разі введення полілінії, індекс шляху, до якого належить координата.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Індекс (відносно шляху) сегмента лінії, до якого належить координата. Якщо координата представляє вершину вхідної лінії, то segmentId поверне індекс попередньої вершини. Якщо координата є першою вершиною inputLine, тоді значення segmentId буде дорівнювати 0."
1258
1202
  }
1259
1203
  },
1260
1204
  "parametersInfo": {
@@ -1378,7 +1322,7 @@
1378
1322
  "kind": 3,
1379
1323
  "documentation": {
1380
1324
  "kind": "markdown",
1381
- "value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає найближчу координату (не вершину) вхідної геометрії до точки пошуку. Повернений словник також містить найкоротшу планарну відстань від точки пошуку до найближчої координати. Якщо точка пошуку перетинає вхідну геометрію, то точка пошуку повертається як результат із нульовою відстанню.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $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) - "
1325
+ "value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає найближчу координату (не вершину) вхідної геометрії до точки пошуку. Повернений словник також містить найкоротшу планарну відстань від точки пошуку до найближчої координати. Якщо точка пошуку перетинає вхідну геометрію, то точка пошуку повертається як результат із нульовою відстанню.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $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\nleft — searchPoint знаходиться ліворуч від inputGeometry.\n\nright — searchPoint знаходиться праворуч від inputGeometry.\n\nstraddle — searchPoint охоплює inputGeometry з обох сторін або знаходиться поверх нього."
1382
1326
  }
1383
1327
  },
1384
1328
  "parametersInfo": {
@@ -1403,7 +1347,7 @@
1403
1347
  "kind": 3,
1404
1348
  "documentation": {
1405
1349
  "kind": "markdown",
1406
- "value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає найближчу до точки пошуку вершину вхідної геометрії. Повернений словник містить планарну відстань від точки пошуку до найближчої вершини.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $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) - "
1350
+ "value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає найближчу до точки пошуку вершину вхідної геометрії. Повернений словник містить планарну відстань від точки пошуку до найближчої вершини.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $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\nleft — searchPoint знаходиться ліворуч від inputGeometry.\n\nright — searchPoint знаходиться праворуч від inputGeometry.\n\nstraddle — searchPoint охоплює inputGeometry з обох сторін або знаходиться поверх нього."
1407
1351
  }
1408
1352
  },
1409
1353
  "parametersInfo": {
@@ -1517,8 +1461,8 @@
1517
1461
  "bundle": "geometry",
1518
1462
  "sinceVersion": "1.26",
1519
1463
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
1520
- "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._",
1521
- "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",
1464
+ "description": "Повертає найближчу координату та відстань до цієї координати точки пошуку у вхідну лінію.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._",
1465
+ "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",
1522
1466
  "completion": {
1523
1467
  "label": "PointToCoordinate",
1524
1468
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -1528,7 +1472,7 @@
1528
1472
  "kind": 3,
1529
1473
  "documentation": {
1530
1474
  "kind": "markdown",
1531
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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`."
1475
+ "value": "**[Починаючи з версії 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає найближчу координату та відстань до цієї координати точки пошуку у вхідну лінію.\n\n_Геометрії об'єктів у профілях візуалізації й створення написів генералізуються відповідно до роздільної здатності масштабу виду з метою покращення продуктивності малювання. Отже, використання геометрії об'єкта (наприклад, $feature) як вхідних даних для будь-якої геометричної функції у цих контекстах поверне різні результати на кожному рівні масштабу. Інші профілі, як-от спливні вікна, надають геометрію в повній роздільній здатності._\n\n**Параметри**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [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 до координати.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Планарна відстань від початку inputLine, виміряна вздовж лінії, до координати. У полілініях, де шляхи не з’єднуються, значення distanceAlong не включає відстань проміжків між початковою та кінцевою вершинами шляхів.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - У разі введення полілінії, індекс шляху, до якого належить координата.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Індекс (відносно шляху) сегмента лінії, до якого належить координата. Якщо координата представляє вершину вхідної лінії, то segmentId поверне індекс попередньої вершини. Якщо координата є першою вершиною inputLine, тоді значення segmentId буде дорівнювати 0."
1532
1476
  }
1533
1477
  },
1534
1478
  "parametersInfo": {
@@ -4037,8 +3981,8 @@
4037
3981
  "bundle": "data-access",
4038
3982
  "sinceVersion": "1.25",
4039
3983
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
4040
- "description": "ґ_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________Ї.",
4041
- "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",
3984
+ "description": "Створює новий FeatureSet з усіма об'єктами, що відповідають заданому коду підтипу.",
3985
+ "examples": "\n##### Приклад\n\nФільтрувати об'єкти за кодом підтипу\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
4042
3986
  "completion": {
4043
3987
  "label": "FilterBySubtypeCode",
4044
3988
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -4048,7 +3992,7 @@
4048
3992
  "kind": 3,
4049
3993
  "documentation": {
4050
3994
  "kind": "markdown",
4051
- "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)"
3995
+ "value": "**[Починаючи з версії 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nСтворює новий FeatureSet з усіма об'єктами, що відповідають заданому коду підтипу.\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) - Код підтипу, який використовується для фільтрації об'єктів у FeatureSet або шарі.\n\n**Повернуте значення**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4052
3996
  }
4053
3997
  },
4054
3998
  "parametersInfo": {
@@ -4654,6 +4598,62 @@
4654
4598
  }
4655
4599
  ]
4656
4600
  },
4601
+ {
4602
+ "id": "knowledge-graph_functions",
4603
+ "title": "Функції графу знань",
4604
+ "items": [
4605
+ {
4606
+ "type": "function",
4607
+ "name": "knowledgegraphbyportalitem",
4608
+ "bundle": "knowledge-graph",
4609
+ "sinceVersion": "1.26",
4610
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
4611
+ "description": "Повертає граф знань із елемента порталу.",
4612
+ "examples": "\n##### Приклад\n\nПовертає граф знань з елемента порталу.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
4613
+ "completion": {
4614
+ "label": "KnowledgeGraphByPortalItem",
4615
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
4616
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
4617
+ "insertTextMode": 2,
4618
+ "insertTextFormat": 2,
4619
+ "kind": 3,
4620
+ "documentation": {
4621
+ "kind": "markdown",
4622
+ "value": "**[Починаючи з версії 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПовертає граф знань із елемента порталу.\n\n**Параметри**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Портал, з якого запитуються об'єкти.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - GUID елемента порталу з посиланням на сервіс графу знань. _Це значення має бути текстовим літералом._\n\n**Повернуте значення**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
4623
+ }
4624
+ },
4625
+ "parametersInfo": {
4626
+ "min": 2,
4627
+ "max": 2
4628
+ }
4629
+ },
4630
+ {
4631
+ "type": "function",
4632
+ "name": "querygraph",
4633
+ "bundle": "knowledge-graph",
4634
+ "sinceVersion": "1.26",
4635
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
4636
+ "description": "Запитує граф знань за допомогою запиту openCypher і повертає набір сутностей і зв’язків у графі разом із їхніми властивостями.",
4637
+ "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",
4638
+ "completion": {
4639
+ "label": "QueryGraph",
4640
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
4641
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
4642
+ "insertTextMode": 2,
4643
+ "insertTextFormat": 2,
4644
+ "kind": 3,
4645
+ "documentation": {
4646
+ "kind": "markdown",
4647
+ "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. Назви параметрів або ключі в словнику чутливі до регістру. Прийнятні параметри залежать від зовнішнього сховища графів і можуть бути типу: Масив, Дата, Словник, Геометрія, Число, Текст\n\n**Повернуте значення**: Array"
4648
+ }
4649
+ },
4650
+ "parametersInfo": {
4651
+ "min": 2,
4652
+ "max": 3
4653
+ }
4654
+ }
4655
+ ]
4656
+ },
4657
4657
  {
4658
4658
  "id": "date_functions",
4659
4659
  "title": "Функції дати",
@@ -4890,7 +4890,7 @@
4890
4890
  "bundle": "core",
4891
4891
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
4892
4892
  "description": "Віднімає дві дати та повертає різницю у вказаних одиницях.",
4893
- "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",
4893
+ "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",
4894
4894
  "completion": {
4895
4895
  "label": "DateDiff",
4896
4896
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -5925,8 +5925,8 @@
5925
5925
  "bundle": "core",
5926
5926
  "sinceVersion": "1.26",
5927
5927
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
5928
- "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.",
5929
- "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",
5928
+ "description": "Повертає задане значення за замовчуванням, якщо індекс у масиві не існує або значення за заданим індексом дорівнює null або є порожнім текстовим значенням.",
5929
+ "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Масив зі значенням null за заданим індексом\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
5930
5930
  "completion": {
5931
5931
  "label": "DefaultValue",
5932
5932
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -5936,7 +5936,7 @@
5936
5936
  "kind": 3,
5937
5937
  "documentation": {
5938
5938
  "kind": "markdown",
5939
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 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`."
5939
+ "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Вхідний масив для перевірки.\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»."
5940
5940
  }
5941
5941
  },
5942
5942
  "parametersInfo": {
@@ -5949,8 +5949,8 @@
5949
5949
  "name": "defaultvalue",
5950
5950
  "bundle": "core",
5951
5951
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
5952
- "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.",
5953
- "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",
5952
+ "description": "Перевіряє, чи має значення індекс, вкладений на кілька рівнів у багатовимірний масив, і повертає це значення, якщо воно є. В іншому випадку ця функція повертає задане значення за замовчуванням, якщо принаймні один із вкладених ключів чи індексів не існує, або значення за заданим ключем чи індексом дорівнює null або є порожнім текстовим значенням. Це дозволяє детально ознайомитись із вкладеною структурою за один крок, а не перевіряти значення в кожному масиві.",
5953
+ "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",
5954
5954
  "completion": {
5955
5955
  "label": "DefaultValue",
5956
5956
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5960,7 +5960,7 @@
5960
5960
  "kind": 3,
5961
5961
  "documentation": {
5962
5962
  "kind": "markdown",
5963
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array 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`."
5963
+ "value": "Перевіряє, чи має значення індекс, вкладений на кілька рівнів у багатовимірний масив, і повертає це значення, якщо воно є. В іншому випадку ця функція повертає задане значення за замовчуванням, якщо принаймні один із вкладених ключів чи індексів не існує, або значення за заданим ключем чи індексом дорівнює null або є порожнім текстовим значенням. Це дозволяє детально ознайомитись із вкладеною структурою за один крок, а не перевіряти значення в кожному масиві.\n\n**Параметри**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Вхідний масив для перевірки.\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»."
5964
5964
  }
5965
5965
  },
5966
5966
  "parametersInfo": {
@@ -6127,8 +6127,8 @@
6127
6127
  "bundle": "core",
6128
6128
  "sinceVersion": "1.26",
6129
6129
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
6130
- "description": "Indicates whether an array has a value at the given index.",
6131
- "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",
6130
+ "description": "Вказує, чи має масив значення за заданим індексом.",
6131
+ "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Масив зі значенням null за заданим індексом\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
6132
6132
  "completion": {
6133
6133
  "label": "HasValue",
6134
6134
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -6138,7 +6138,7 @@
6138
6138
  "kind": 3,
6139
6139
  "documentation": {
6140
6140
  "kind": "markdown",
6141
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 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)"
6141
+ "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Масив для перевірки.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Індекс для перевірки.\n\n**Повернуте значення**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6142
6142
  }
6143
6143
  },
6144
6144
  "parametersInfo": {
@@ -6152,8 +6152,8 @@
6152
6152
  "bundle": "core",
6153
6153
  "sinceVersion": "1.26",
6154
6154
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
6155
- "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.",
6156
- "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",
6155
+ "description": "Перевіряє, чи має значення індекс, вкладений на кілька рівнів у багатовимірний масив. Це дозволяє детально ознайомитись із вкладеною структурою за один крок, а не перевіряти значення в кожному масиві. Повертає значення true, якщо індекси на кожному рівні структури існують і включають ненульове значення.",
6156
+ "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",
6157
6157
  "completion": {
6158
6158
  "label": "HasValue",
6159
6159
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -6163,7 +6163,7 @@
6163
6163
  "kind": 3,
6164
6164
  "documentation": {
6165
6165
  "kind": "markdown",
6166
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **indexes**: [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 structure.\n\n**Повернуте значення**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6166
+ "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Масив для перевірки.\n- **indexes**: [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\n**Повернуте значення**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6167
6167
  }
6168
6168
  },
6169
6169
  "parametersInfo": {
@@ -6612,7 +6612,7 @@
6612
6612
  "sinceVersion": "1.7",
6613
6613
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
6614
6614
  "description": "Повертає код зв’язаного опису домену в об'єкті.",
6615
- "examples": "\n##### Приклад\n\nдрукує опис домену для поля, на яке посилаються.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
6615
+ "examples": "\n##### Приклад\n\nдрукує код домену для поля, на яке посилаються.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
6616
6616
  "completion": {
6617
6617
  "label": "DomainCode",
6618
6618
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -6835,8 +6835,8 @@
6835
6835
  "bundle": "core",
6836
6836
  "sinceVersion": "1.20",
6837
6837
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
6838
- "description": "Indicates whether a feature has a given field and if that field has a value.",
6839
- "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",
6838
+ "description": "Вказує, чи має функція задане поле та чи має це поле значення.",
6839
+ "examples": "\n##### Приклад\n\nПовертає false, якщо атрибут функції не існує або порожній\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",
6840
6840
  "completion": {
6841
6841
  "label": "HasValue",
6842
6842
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -6846,7 +6846,7 @@
6846
6846
  "kind": 3,
6847
6847
  "documentation": {
6848
6848
  "kind": "markdown",
6849
- "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)"
6849
+ "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)"
6850
6850
  }
6851
6851
  },
6852
6852
  "parametersInfo": {
@@ -7075,8 +7075,8 @@
7075
7075
  "bundle": "core",
7076
7076
  "sinceVersion": "1.26",
7077
7077
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
7078
- "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.",
7079
- "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",
7078
+ "description": "Повертає задане значення за замовчуванням, якщо ключ у словнику не існує або значення за заданим ключем дорівнює null або є порожнім текстовим значенням.",
7079
+ "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",
7080
7080
  "completion": {
7081
7081
  "label": "DefaultValue",
7082
7082
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -7086,7 +7086,7 @@
7086
7086
  "kind": 3,
7087
7087
  "documentation": {
7088
7088
  "kind": "markdown",
7089
- "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`."
7089
+ "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»."
7090
7090
  }
7091
7091
  },
7092
7092
  "parametersInfo": {
@@ -7099,8 +7099,8 @@
7099
7099
  "name": "defaultvalue",
7100
7100
  "bundle": "core",
7101
7101
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
7102
- "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.",
7103
- "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",
7102
+ "description": "Повертає задане значення за замовчуванням, якщо принаймні один з ключів у вкладеному словнику не існує або значення за заданим ключем дорівнює null або є порожнім текстовим значенням.",
7103
+ "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Перевірити значення null в масиві в словнику з ключем, який існує\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",
7104
7104
  "completion": {
7105
7105
  "label": "DefaultValue",
7106
7106
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -7110,7 +7110,7 @@
7110
7110
  "kind": 3,
7111
7111
  "documentation": {
7112
7112
  "kind": "markdown",
7113
- "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`."
7113
+ "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»."
7114
7114
  }
7115
7115
  },
7116
7116
  "parametersInfo": {
@@ -7301,8 +7301,8 @@
7301
7301
  "bundle": "core",
7302
7302
  "sinceVersion": "1.20",
7303
7303
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
7304
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
7305
- "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",
7304
+ "description": "Указує, чи має словник даний ключ, та чи цей ключ має значення.",
7305
+ "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",
7306
7306
  "completion": {
7307
7307
  "label": "HasValue",
7308
7308
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -7312,7 +7312,7 @@
7312
7312
  "kind": 3,
7313
7313
  "documentation": {
7314
7314
  "kind": "markdown",
7315
- "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)"
7315
+ "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)"
7316
7316
  }
7317
7317
  },
7318
7318
  "parametersInfo": {
@@ -7326,8 +7326,8 @@
7326
7326
  "bundle": "core",
7327
7327
  "sinceVersion": "1.26",
7328
7328
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
7329
- "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.",
7330
- "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",
7329
+ "description": "Перевіряє, чи має значення властивість, вкладена на кілька рівнів у словник. Це дозволяє детально ознайомитись із вкладеною структурою за один крок, а не перевіряти значення на кожному рівні. Повертає значення true, якщо ключі та індекси на кожному рівні структури існують і включають ненульове значення.",
7330
+ "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",
7331
7331
  "completion": {
7332
7332
  "label": "HasValue",
7333
7333
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -7337,7 +7337,7 @@
7337
7337
  "kind": 3,
7338
7338
  "documentation": {
7339
7339
  "kind": "markdown",
7340
- "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)"
7340
+ "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)"
7341
7341
  }
7342
7342
  },
7343
7343
  "parametersInfo": {