@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##### Esempio\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": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\né_Returns a knowledge graph from a portal item________________________È.\n\n**Parametri**\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**Valore restituito**: [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##### Esempio\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": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [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": "logical_functions",
206
150
  "title": "Funzione logiche",
@@ -587,8 +531,8 @@
587
531
  "bundle": "core",
588
532
  "sinceVersion": "1.26",
589
533
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
590
- "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.",
591
- "examples": "\n##### Esempi\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",
534
+ "description": "Restituisce un valore predefinito specificato se non esiste un indice in un array o se il valore all'indice specificato è 'null' o un valore di testo vuoto.",
535
+ "examples": "\n##### Esempi\n\nArray con valore all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nArray senza valore all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nArray con valore null all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
592
536
  "completion": {
593
537
  "label": "DefaultValue",
594
538
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -598,7 +542,7 @@
598
542
  "kind": 3,
599
543
  "documentation": {
600
544
  "kind": "markdown",
601
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [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`."
545
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce un valore predefinito specificato se non esiste un indice in un array o se il valore all'indice specificato è 'null' o un valore di testo vuoto.\n\n**Parametri**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - L'array di input da verificare.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'indice da verificare.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se l'indice non esiste o se il valore all'indice specificato è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore all'indice specificato se definito. In caso contrario, restituisce il valore specificato in 'defaultValue'."
602
546
  }
603
547
  },
604
548
  "parametersInfo": {
@@ -611,8 +555,8 @@
611
555
  "name": "defaultvalue",
612
556
  "bundle": "core",
613
557
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
614
- "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.",
615
- "examples": "\n##### Esempi\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",
558
+ "description": "Controlla se un indice annidato su più livelli in profondità in un array multidimensionale ha un valore e restituisce quel valore, se presente. In caso contrario, questa funzione restituisce un valore predefinito specificato se almeno una delle chiavi o indici annidati non esiste o se il valore alla chiave o indice specificati è 'null' o è un valore di testo vuoto. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori all'interno di ciascun array.",
559
+ "examples": "\n##### Esempi\n\nArray con un valore all'indice nidificato\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 senza valore all'indice nidificato\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 senza valore all'indice principale\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 di dizionari con valori nidificati\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",
616
560
  "completion": {
617
561
  "label": "DefaultValue",
618
562
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -622,7 +566,7 @@
622
566
  "kind": 3,
623
567
  "documentation": {
624
568
  "kind": "markdown",
625
- "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**Parametri**\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**Valore restituito**: [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`."
569
+ "value": "Controlla se un indice annidato su più livelli in profondità in un array multidimensionale ha un valore e restituisce quel valore, se presente. In caso contrario, questa funzione restituisce un valore predefinito specificato se almeno una delle chiavi o indici annidati non esiste o se il valore alla chiave o indice specificati è 'null' o è un valore di testo vuoto. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori all'interno di ciascun array.\n\n**Parametri**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - L'array di input da verificare.\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)> - Un array delle chiavi o indici da controllare in ogni livello della struttura del contenitore.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se almeno una delle chiavi o indici non esiste o il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore alla chiave o indice se definito. In caso contrario, restituisce il valore specificato in 'defaultValue'."
626
570
  }
627
571
  },
628
572
  "parametersInfo": {
@@ -789,8 +733,8 @@
789
733
  "bundle": "core",
790
734
  "sinceVersion": "1.26",
791
735
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
792
- "description": "Indicates whether an array has a value at the given index.",
793
- "examples": "\n##### Esempi\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",
736
+ "description": "Indica se un array possiede un valore all'indice dato.",
737
+ "examples": "\n##### Esempi\n\nArray con valore all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nArray senza valore all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nArray con valore null all'indice dato\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
794
738
  "completion": {
795
739
  "label": "HasValue",
796
740
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -800,7 +744,7 @@
800
744
  "kind": 3,
801
745
  "documentation": {
802
746
  "kind": "markdown",
803
- "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
747
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se un array possiede un valore all'indice dato.\n\n**Parametri**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - L'array da verificare.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'indice da verificare.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
804
748
  }
805
749
  },
806
750
  "parametersInfo": {
@@ -814,8 +758,8 @@
814
758
  "bundle": "core",
815
759
  "sinceVersion": "1.26",
816
760
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
817
- "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.",
818
- "examples": "\n##### Esempi\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",
761
+ "description": "Controlla se un indice annidato su più livelli in profondità in un array multidimensionale ha un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori all'interno di ciascun array. Restituisce true se gli indici in ciascun livello della struttura esistono e includono un valore non null.",
762
+ "examples": "\n##### Esempi\n\nArray con un valore all'indice nidificato\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nArray senza valore all'indice nidificato\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nArray senza valore all'indice principale\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nArray di dizionari con valori nidificati\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",
819
763
  "completion": {
820
764
  "label": "HasValue",
821
765
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -825,7 +769,7 @@
825
769
  "kind": 3,
826
770
  "documentation": {
827
771
  "kind": "markdown",
828
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
772
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nControlla se un indice annidato su più livelli in profondità in un array multidimensionale ha un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori all'interno di ciascun array. Restituisce true se gli indici in ciascun livello della struttura esistono e includono un valore non null.\n\n**Parametri**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - L'array da verificare.\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)> - Un array delle chiavi o indici da controllare in ogni livello della struttura.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
829
773
  }
830
774
  },
831
775
  "parametersInfo": {
@@ -1183,6 +1127,62 @@
1183
1127
  }
1184
1128
  ]
1185
1129
  },
1130
+ {
1131
+ "id": "knowledge-graph_functions",
1132
+ "title": "Funzioni del grafico di conoscenza",
1133
+ "items": [
1134
+ {
1135
+ "type": "function",
1136
+ "name": "knowledgegraphbyportalitem",
1137
+ "bundle": "knowledge-graph",
1138
+ "sinceVersion": "1.26",
1139
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
1140
+ "description": "Restituisce un grafico di conoscenza da un elemento del portale.",
1141
+ "examples": "\n##### Esempio\n\nRestituisce il grafico di conoscenza da un elemento del portale.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
1142
+ "completion": {
1143
+ "label": "KnowledgeGraphByPortalItem",
1144
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
1145
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
1146
+ "insertTextMode": 2,
1147
+ "insertTextFormat": 2,
1148
+ "kind": 3,
1149
+ "documentation": {
1150
+ "kind": "markdown",
1151
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce un grafico di conoscenza da un elemento del portale.\n\n**Parametri**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Il portale dal quale interrogare le feature.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Il GUID dell'elemento del portale che fa riferimento a un servizio del grafico di conoscenza. _Questo valore deve essere un letterale di testo._\n\n**Valore restituito**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
1152
+ }
1153
+ },
1154
+ "parametersInfo": {
1155
+ "min": 2,
1156
+ "max": 2
1157
+ }
1158
+ },
1159
+ {
1160
+ "type": "function",
1161
+ "name": "querygraph",
1162
+ "bundle": "knowledge-graph",
1163
+ "sinceVersion": "1.26",
1164
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
1165
+ "description": "Interroga un grafico di conoscenza con un'interrogazione openCypher e restituisce l'insieme di entità e relazioni in un grafico, insieme alle loro proprietà.",
1166
+ "examples": "\n##### Esempi\n\ninterroga il grafico di conoscenza per ricavare informazioni sulle entità 'Student' che contiene.\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\nInterroga il grafico di conoscenza usando parametri di associazione.\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",
1167
+ "completion": {
1168
+ "label": "QueryGraph",
1169
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
1170
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
1171
+ "insertTextMode": 2,
1172
+ "insertTextFormat": 2,
1173
+ "kind": 3,
1174
+ "documentation": {
1175
+ "kind": "markdown",
1176
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nInterroga un grafico di conoscenza con un'interrogazione openCypher e restituisce l'insieme di entità e relazioni in un grafico, insieme alle loro proprietà.\n\n**Parametri**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - Il grafico di conoscenza da interrogare.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - L'interrogazione openCypher da eseguire sul grafico di conoscenza.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Un dizionario di parametri di interrogazione denominati per l'interrogazione openCypher. I nomi o chiavi dei parametri nel dizionario distinguono tra maiuscole e minuscole. I parametri accettati dipendono dall'archivio grafico esterno e possono essere del tipo: `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text`\n\n**Valore restituito**: Array"
1177
+ }
1178
+ },
1179
+ "parametersInfo": {
1180
+ "min": 2,
1181
+ "max": 3
1182
+ }
1183
+ }
1184
+ ]
1185
+ },
1186
1186
  {
1187
1187
  "id": "date_functions",
1188
1188
  "title": "Funzioni di data",
@@ -1419,7 +1419,7 @@
1419
1419
  "bundle": "core",
1420
1420
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1421
1421
  "description": "Sottrae due Date e restituisce la differenza nelle unità specificate.",
1422
- "examples": "\n##### Esempi\n\nSottrae due Date e restituisce l'età\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",
1422
+ "examples": "\n##### Esempi\n\nSottrae due Date e restituisce l'età\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSottrae due Date e restituisce la differenza.\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",
1423
1423
  "completion": {
1424
1424
  "label": "DateDiff",
1425
1425
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3282,8 +3282,8 @@
3282
3282
  "bundle": "core",
3283
3283
  "sinceVersion": "1.26",
3284
3284
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
3285
- "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.",
3286
- "examples": "\n##### Esempi\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",
3285
+ "description": "Restituisce un valore predefinito specificato se non esiste una chiave in un dizionario o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.",
3286
+ "examples": "\n##### Esempi\n\nDefaultValue restituisce un valore definito\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 restituisce un valore predefinito se non esiste un valore alla chiave specificata.\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 restituisce un valore predefinito se la chiave non esiste.\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",
3287
3287
  "completion": {
3288
3288
  "label": "DefaultValue",
3289
3289
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3293,7 +3293,7 @@
3293
3293
  "kind": 3,
3294
3294
  "documentation": {
3295
3295
  "kind": "markdown",
3296
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [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`."
3296
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce un valore predefinito specificato se non esiste una chiave in un dizionario o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Parametri**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Il dizionario o l'allegato da controllare.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - La chiave da verificare.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se la chiave non esiste o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore alla chiave specificata se definita. In caso contrario, restituisce il valore specificato in 'defaultValue'."
3297
3297
  }
3298
3298
  },
3299
3299
  "parametersInfo": {
@@ -3306,8 +3306,8 @@
3306
3306
  "name": "defaultvalue",
3307
3307
  "bundle": "core",
3308
3308
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
3309
- "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.",
3310
- "examples": "\n##### Esempi\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",
3309
+ "description": "Restituisce un valore predefinito specificato se non esiste almeno una delle chiavi in un dizionario nidificato o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.",
3310
+ "examples": "\n##### Esempi\n\nDefaultValue restituisce un valore definito\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 restituisce un valore predefinito se non esiste un valore alla chiave specificata.\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 restituisce un valore predefinito se la chiave non esiste.\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\nControlla un valore null in un array all'interno di un dizionario con una chiave esistente\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",
3311
3311
  "completion": {
3312
3312
  "label": "DefaultValue",
3313
3313
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3317,7 +3317,7 @@
3317
3317
  "kind": 3,
3318
3318
  "documentation": {
3319
3319
  "kind": "markdown",
3320
- "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**Parametri**\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**Valore restituito**: [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`."
3320
+ "value": "Restituisce un valore predefinito specificato se non esiste almeno una delle chiavi in un dizionario nidificato o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Parametri**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Il dizionario o l'allegato da controllare.\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)> - Un array delle chiavi o indici da controllare in ogni livello della struttura del contenitore.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se almeno una delle chiavi o indici non esiste o il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore alla chiave o indice se definito. In caso contrario, restituisce il valore specificato in 'defaultValue'."
3321
3321
  }
3322
3322
  },
3323
3323
  "parametersInfo": {
@@ -3508,8 +3508,8 @@
3508
3508
  "bundle": "core",
3509
3509
  "sinceVersion": "1.20",
3510
3510
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
3511
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
3512
- "examples": "\n##### Esempi\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",
3511
+ "description": "Indica se un dizionario include una chiave fornita e se la chiave ha un valore.",
3512
+ "examples": "\n##### Esempi\n\nDizionario con chiave che ha un valore\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nDizionario con chiave che ha include un valore\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDizionario senza la chiave fornita\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDizionario senza la chiave fornita\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
3513
3513
  "completion": {
3514
3514
  "label": "HasValue",
3515
3515
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -3519,7 +3519,7 @@
3519
3519
  "kind": 3,
3520
3520
  "documentation": {
3521
3521
  "kind": "markdown",
3522
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3522
+ "value": "**[Versione iniziale 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se un dizionario include una chiave fornita e se la chiave ha un valore.\n\n**Parametri**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Il dizionario o l'allegato da controllare.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Il nome chiave o campo da controllare.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3523
3523
  }
3524
3524
  },
3525
3525
  "parametersInfo": {
@@ -3533,8 +3533,8 @@
3533
3533
  "bundle": "core",
3534
3534
  "sinceVersion": "1.26",
3535
3535
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
3536
- "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.",
3537
- "examples": "\n##### Esempi\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",
3536
+ "description": "Verifica se una proprietà nidificata a diversi livelli di profondità in un dizionario possiede un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori a ogni livello. Restituisce true se gli indici e le chiavi in ciascun livello della struttura esistono e includono un valore non null.",
3537
+ "examples": "\n##### Esempi\n\nVerifica un dizionario con chiave che possiede un valore nidificato\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\nVerifica un valore in un dizionario con una chiave inesistente\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\nVerifica un valore in un array all'interno di un dizionario con una chiave esistente\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",
3538
3538
  "completion": {
3539
3539
  "label": "HasValue",
3540
3540
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -3544,7 +3544,7 @@
3544
3544
  "kind": 3,
3545
3545
  "documentation": {
3546
3546
  "kind": "markdown",
3547
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3547
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se una proprietà nidificata a diversi livelli di profondità in un dizionario possiede un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori a ogni livello. Restituisce true se gli indici e le chiavi in ciascun livello della struttura esistono e includono un valore non null.\n\n**Parametri**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Il dizionario o l'allegato da controllare.\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; - Un array delle chiavi o indici da controllare in ogni livello della struttura.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3548
3548
  }
3549
3549
  },
3550
3550
  "parametersInfo": {
@@ -3622,7 +3622,7 @@
3622
3622
  "sinceVersion": "1.7",
3623
3623
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
3624
3624
  "description": "Restituisce il codice di una descrizione di dominio associata in una feature.",
3625
- "examples": "\n##### Esempio\n\nstampa la descrizione di dominio per il campo di riferimento.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
3625
+ "examples": "\n##### Esempio\n\nstampa il codice di dominio per il campo di riferimento.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
3626
3626
  "completion": {
3627
3627
  "label": "DomainCode",
3628
3628
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -3845,8 +3845,8 @@
3845
3845
  "bundle": "core",
3846
3846
  "sinceVersion": "1.20",
3847
3847
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
3848
- "description": "Indicates whether a feature has a given field and if that field has a value.",
3849
- "examples": "\n##### Esempio\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",
3848
+ "description": "Indica se una feature ha un dato campo e se tale campo ha un valore.",
3849
+ "examples": "\n##### Esempio\n\nRestituisce false se l'attributo della feature non esiste o è vuoto\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",
3850
3850
  "completion": {
3851
3851
  "label": "HasValue",
3852
3852
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -3856,7 +3856,7 @@
3856
3856
  "kind": 3,
3857
3857
  "documentation": {
3858
3858
  "kind": "markdown",
3859
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3859
+ "value": "**[Versione iniziale 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se una feature ha un dato campo e se tale campo ha un valore.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La feature da controllare.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Il nome campo da controllare.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3860
3860
  }
3861
3861
  },
3862
3862
  "parametersInfo": {
@@ -4476,8 +4476,8 @@
4476
4476
  "bundle": "data-access",
4477
4477
  "sinceVersion": "1.25",
4478
4478
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
4479
- "description": "é_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________È.",
4480
- "examples": "\n##### Esempio\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",
4479
+ "description": "Creare un nuovo FeatureSet con tutte le feature che corrispondono al codice sottotipo specificato.",
4480
+ "examples": "\n##### Esempio\n\nFiltra feature con codice sottotipo\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
4481
4481
  "completion": {
4482
4482
  "label": "FilterBySubtypeCode",
4483
4483
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -4487,7 +4487,7 @@
4487
4487
  "kind": 3,
4488
4488
  "documentation": {
4489
4489
  "kind": "markdown",
4490
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4490
+ "value": "**[Versione iniziale 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreare un nuovo FeatureSet con tutte le feature che corrispondono al codice sottotipo specificato.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet o layer da filtrare.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Il codice sottotipo utilizzato per filtrare le feature nel FeatureSet o layer.\n\n**Valore restituito**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4491
4491
  }
4492
4492
  },
4493
4493
  "parametersInfo": {
@@ -5510,8 +5510,8 @@
5510
5510
  "bundle": "core",
5511
5511
  "sinceVersion": "1.26",
5512
5512
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
5513
- "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.",
5514
- "examples": "\n##### Esempi\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",
5513
+ "description": "Restituisce un valore predefinito specificato se non esiste una chiave in una geometria o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.",
5514
+ "examples": "\n##### Esempi\n\nPunto con un valore 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\nPunto senza un valore z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
5515
5515
  "completion": {
5516
5516
  "label": "DefaultValue",
5517
5517
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -5521,7 +5521,7 @@
5521
5521
  "kind": 3,
5522
5522
  "documentation": {
5523
5523
  "kind": "markdown",
5524
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [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`."
5524
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce un valore predefinito specificato se non esiste una chiave in una geometria o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Parametri**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - La geometria di input da controllare.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - La chiave da verificare.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se la chiave non esiste o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore alla chiave specificata se definita. In caso contrario, restituisce il valore specificato in 'defaultValue'."
5525
5525
  }
5526
5526
  },
5527
5527
  "parametersInfo": {
@@ -5534,8 +5534,8 @@
5534
5534
  "name": "defaultvalue",
5535
5535
  "bundle": "core",
5536
5536
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
5537
- "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.",
5538
- "examples": "\n##### Esempi\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",
5537
+ "description": "Restituisce un valore predefinito specificato se non esiste almeno una delle chiavi nelle proprietà nidificate di una geometria o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.",
5538
+ "examples": "\n##### Esempi\n\nAnello, coordinata e valore x esistono e hanno un valore\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\nAnello non esiste\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\nAnello e coordinata esistono, ma il valore m non esiste\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",
5539
5539
  "completion": {
5540
5540
  "label": "DefaultValue",
5541
5541
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5545,7 +5545,7 @@
5545
5545
  "kind": 3,
5546
5546
  "documentation": {
5547
5547
  "kind": "markdown",
5548
- "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**Parametri**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valore restituito**: [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`."
5548
+ "value": "Restituisce un valore predefinito specificato se non esiste almeno una delle chiavi nelle proprietà nidificate di una geometria o se il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Parametri**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - La geometria di input da controllare.\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; - Un array delle chiavi o indici da controllare in ogni livello della struttura del contenitore.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Questo valore viene restituito se almeno una delle chiavi o indici non esiste o il valore alla chiave specificata è 'null' o è un valore di testo vuoto.\n\n**Valore restituito**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRestituisce il valore alla chiave o indice se definito. In caso contrario, restituisce il valore specificato in 'defaultValue'."
5549
5549
  }
5550
5550
  },
5551
5551
  "parametersInfo": {
@@ -5710,8 +5710,8 @@
5710
5710
  "bundle": "geometry",
5711
5711
  "sinceVersion": "1.26",
5712
5712
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
5713
- "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._",
5714
- "examples": "\n##### Esempio\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",
5713
+ "description": "Restituisce una coordinata insieme a una linea di input basata su una data distanza. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data distanza. La distanza non include spazi vuoti tra i percorsi (o parti) della linea. Se la distanza non viene trovata lungo la linea di input, il risultato sarà 'null'.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._",
5714
+ "examples": "\n##### Esempio\n\nRestituisce la coordinata della polilinea di input in base al valore della distanza fornita\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
5715
5715
  "completion": {
5716
5716
  "label": "DistanceToCoordinate",
5717
5717
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -5721,7 +5721,7 @@
5721
5721
  "kind": 3,
5722
5722
  "documentation": {
5723
5723
  "kind": "markdown",
5724
- "value": "**[Versione iniziale 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**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Valore restituito**: [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`."
5724
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce una coordinata insieme a una linea di input basata su una data distanza. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data distanza. La distanza non include spazi vuoti tra i percorsi (o parti) della linea. Se la distanza non viene trovata lungo la linea di input, il risultato sarà 'null'.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La linea o percorso dal quale trovare una coordinata. Quando si utilizza una feature come input, la geometria della feature deve essere una polilinea.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza utilizzata per trovare la coordinata lungo 'inputLine' a partire dall'inizio della linea. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data distanza. La distanza non include spazi vuoti tra i percorsi (o parti) della linea. \n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà. Se la distanza non viene trovata lungo la linea di input, il risultato sarà 'null'.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Le coordinate di un punto lungo 'inputLine' in base al valore della distanza fornita.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dall'inizio della 'inputLine' misurata lungo la linea verso 'coordinate'. Nelle polilinee in cui i percorsi non si connettono, il valore 'distanceAlong' non include la distanza degli spazi vuoti tra i vertici iniziali e finali dei percorsi.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Nel caso di un input polilinea, l'indice del percorso al quale appartiene la coordinata.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'indice (relativo al percorso) del segmento di linea al quale appartiene la coordinata. Se 'coordinate' rappresenta un vertice della linea di input, 'segmentId' restituirà l'indice del vertice precedente. Se 'coordinate' è il primo vertice di 'inputLine', il valore di 'segmentId' sarà 0."
5725
5725
  }
5726
5726
  },
5727
5727
  "parametersInfo": {
@@ -5909,8 +5909,8 @@
5909
5909
  "bundle": "core",
5910
5910
  "sinceVersion": "1.26",
5911
5911
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
5912
- "description": "Indicates whether a geometry has a value at a given key or index.",
5913
- "examples": "\n##### Esempi\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",
5912
+ "description": "Indica se una geometria possiede un valore alla chiave o indice forniti.",
5913
+ "examples": "\n##### Esempi\n\nPunto con un valore z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPoligono con una chiave inesistente\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
5914
5914
  "completion": {
5915
5915
  "label": "HasValue",
5916
5916
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -5920,7 +5920,7 @@
5920
5920
  "kind": 3,
5921
5921
  "documentation": {
5922
5922
  "kind": "markdown",
5923
- "value": "**[Versione iniziale 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**Parametri**\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**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5923
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se una geometria possiede un valore alla chiave o indice forniti.\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - La geometria da controllare.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Il nome chiave o proprietà da controllare.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5924
5924
  }
5925
5925
  },
5926
5926
  "parametersInfo": {
@@ -5934,8 +5934,8 @@
5934
5934
  "bundle": "core",
5935
5935
  "sinceVersion": "1.26",
5936
5936
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
5937
- "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.",
5938
- "examples": "\n##### Esempi\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",
5937
+ "description": "Verifica se una proprietà o indice nidificati a diversi livelli di profondità in una geometria possiede un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori a ogni livello. Restituisce true se gli indici e le chiavi in ciascun livello della struttura esistono e includono un valore non null.",
5938
+ "examples": "\n##### Esempi\n\nAnello, coordinata e valore x esistono e hanno un valore\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\nAnello non esiste\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\nAnello e coordinata esistono, ma il valore m non esiste\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",
5939
5939
  "completion": {
5940
5940
  "label": "HasValue",
5941
5941
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -5945,7 +5945,7 @@
5945
5945
  "kind": 3,
5946
5946
  "documentation": {
5947
5947
  "kind": "markdown",
5948
- "value": "**[Versione iniziale 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**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5948
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se una proprietà o indice nidificati a diversi livelli di profondità in una geometria possiede un valore. Ciò consente di approfondire una struttura nidificata in un unico passaggio anziché controllare i valori a ogni livello. Restituisce true se gli indici e le chiavi in ciascun livello della struttura esistono e includono un valore non null.\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Il dizionario o la feature da controllare.\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; - Un array delle chiavi o indici da controllare in ogni livello della struttura.\n\n**Valore restituito**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5949
5949
  }
5950
5950
  },
5951
5951
  "parametersInfo": {
@@ -6135,8 +6135,8 @@
6135
6135
  "bundle": "geometry",
6136
6136
  "sinceVersion": "1.26",
6137
6137
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
6138
- "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._",
6139
- "examples": "\n##### Esempio\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",
6138
+ "description": "Restituisce la prima coordinata insieme a una linea di input in base a una data misura o valore m. Se la misura non viene trovata lungo la linea di input, il risultato sarà 'null'. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data misura. La misura non include spazi vuoti tra i percorsi (o parti) della linea.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._",
6139
+ "examples": "\n##### Esempio\n\nRestituisce la coordinata della polilinea di input in base al valore della misura fornita\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
6140
6140
  "completion": {
6141
6141
  "label": "MeasureToCoordinate",
6142
6142
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -6146,7 +6146,7 @@
6146
6146
  "kind": 3,
6147
6147
  "documentation": {
6148
6148
  "kind": "markdown",
6149
- "value": "**[Versione iniziale 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**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Valore restituito**: [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`."
6149
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la prima coordinata insieme a una linea di input in base a una data misura o valore m. Se la misura non viene trovata lungo la linea di input, il risultato sarà 'null'. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data misura. La misura non include spazi vuoti tra i percorsi (o parti) della linea.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La linea o percorso dal quale trovare una coordinata. La linea di input deve avere 'hasM' uguale a 'true'. Se 'hasM' è 'false', verrà restituito 'null'. Quando si utilizza una feature come input, la geometria della feature deve essere una polilinea.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La misura o valore m dal quale ricavare una coordinata lungo 'inputLine' a partire dall'inizio della linea. Tutte le parti della linea vengono prese in considerazione quando si tenta di trovare una coordinata alla data misura. La misura non include spazi vuoti tra i percorsi (o parti) della linea.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà. Se la misura non viene trovata lungo la linea di input, il risultato sarà 'null'.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La prima coordinata di un punto lungo 'inputLine' in base al valore della misura fornita.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dall'inizio della 'inputLine' misurata lungo la linea verso 'coordinate'. Nelle polilinee in cui i percorsi non si connettono, il valore 'distanceAlong' non include la distanza degli spazi vuoti tra i vertici iniziali e finali dei percorsi.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Nel caso di un input polilinea, l'indice del percorso al quale appartiene la coordinata.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'indice (relativo al percorso) del segmento di linea al quale appartiene la coordinata. Se 'coordinate' rappresenta un vertice della linea di input, 'segmentId' restituirà l'indice del vertice precedente. Se 'coordinate' è il primo vertice di 'inputLine', il valore di 'segmentId' sarà 0."
6150
6150
  }
6151
6151
  },
6152
6152
  "parametersInfo": {
@@ -6270,7 +6270,7 @@
6270
6270
  "kind": 3,
6271
6271
  "documentation": {
6272
6272
  "kind": "markdown",
6273
- "value": "**[Versione iniziale 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la coordinata più vicina (non il vertice) della geometria di input al punto di ricerca. Il dizionario restituito include anche la distanza planare più breve dal punto di ricerca alla coordinata più vicina. Se il punto di ricerca interseca la geometria di input, il punto di ricerca viene restituito come risultato con una distanza pari a zero.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La geometria da cui ricavare la coordinata più vicina.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Il punto da cui trovare la coordinata più vicina della `inputGeometry`.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La coordinata più vicina dalla `inputGeometry` al `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dalla coordinata più vicina al `searchPoint`. Questo rappresenta la distanza più breve tra la `inputGeometry` e il `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
6273
+ "value": "**[Versione iniziale 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la coordinata più vicina (non il vertice) della geometria di input al punto di ricerca. Il dizionario restituito include anche la distanza planare più breve dal punto di ricerca alla coordinata più vicina. Se il punto di ricerca interseca la geometria di input, il punto di ricerca viene restituito come risultato con una distanza pari a zero.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La geometria da cui ricavare la coordinata più vicina.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Il punto da cui trovare la coordinata più vicina della `inputGeometry`.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La coordinata più vicina dalla `inputGeometry` al `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dalla coordinata più vicina al `searchPoint`. Questo rappresenta la distanza più breve tra la `inputGeometry` e il `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - La relazione spaziale tra il 'searchPoint' e il segmento della 'inputGeometry' che conduce alla coordinata più vicina. Valori possibili: \n\n'left' - Il 'searchPoint' è sul lato sinistro della 'inputGeometry'.\n\n'right' - Il 'searchPoint' è sul lato destro della 'inputGeometry'.\n\n'straddle' - Il 'searchPoint' è a cavallo o in cima alla 'inputGeometry'."
6274
6274
  }
6275
6275
  },
6276
6276
  "parametersInfo": {
@@ -6295,7 +6295,7 @@
6295
6295
  "kind": 3,
6296
6296
  "documentation": {
6297
6297
  "kind": "markdown",
6298
- "value": "**[Versione iniziale 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il vertice più vicino della geometria di input al punto di ricerca. Il dizionario restituito include la distanza planare dal punto di ricerca al vertice più vicino.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La geometria da cui ricavare il vertice più vicino.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Il punto dal quale trovare il vertice più vicino della `inputGeometry`.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La posizione del punto che rappresenta il vertice più vicino dalla `inputGeometry` al `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dal vertice più vicino della geometria di input al `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
6298
+ "value": "**[Versione iniziale 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce il vertice più vicino della geometria di input al punto di ricerca. Il dizionario restituito include la distanza planare dal punto di ricerca al vertice più vicino.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La geometria da cui ricavare il vertice più vicino.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Il punto dal quale trovare il vertice più vicino della `inputGeometry`.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La posizione del punto che rappresenta il vertice più vicino dalla `inputGeometry` al `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dal vertice più vicino della geometria di input al `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - La relazione spaziale tra il 'searchPoint' e il segmento della 'inputGeometry' che conduce al vertice più vicino. Valori possibili: \n\n'left' - Il 'searchPoint' è sul lato sinistro della 'inputGeometry'.\n\n'right' - Il 'searchPoint' è sul lato destro della 'inputGeometry'.\n\n'straddle' - Il 'searchPoint' è a cavallo o in cima alla 'inputGeometry'."
6299
6299
  }
6300
6300
  },
6301
6301
  "parametersInfo": {
@@ -6409,8 +6409,8 @@
6409
6409
  "bundle": "geometry",
6410
6410
  "sinceVersion": "1.26",
6411
6411
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
6412
- "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._",
6413
- "examples": "\n##### Esempio\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",
6412
+ "description": "Restituisce la coordinata e la distanza più vicine a tale coordinata del punto di ricerca sulla linea di input.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._",
6413
+ "examples": "\n##### Esempio\n\nRestituisce la distanza fino alla coordinata più vicina lungo la polilinea di input in base alla posizione selezionata per aprire un 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",
6414
6414
  "completion": {
6415
6415
  "label": "PointToCoordinate",
6416
6416
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -6420,7 +6420,7 @@
6420
6420
  "kind": 3,
6421
6421
  "documentation": {
6422
6422
  "kind": "markdown",
6423
- "value": "**[Versione iniziale 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**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Valore restituito**: [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`."
6423
+ "value": "**[Versione iniziale 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRestituisce la coordinata e la distanza più vicine a tale coordinata del punto di ricerca sulla linea di input.\n\n_Geometrie feature nei profili di visualizzazione ed etichettatura e generalizzate in base alla risoluzione della scala di visualizzazione per migliorare le prestazioni di disegno. L'uso di una geometria della feature (cioè `$feature`) come input per una funzione geometrica in questi contesti, quindi, restituirà risultati differenti a ogni livello di scala. Altri profili, ad esempio pop-up, forniscono la geometria a risoluzione piena._\n\n**Parametri**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - La linea o percorso da cui ricavare la coordinata più vicina. Quando si utilizza una feature come input, la geometria della feature deve essere una polilinea.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Il punto da cui trovare la coordinata più vicina della `inputLine`.\n\n**Valore restituito**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRestituisce un dizionario con le seguenti proprietà.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - La coordinata del punto che rappresenta la coordinata più vicina lungo la 'inputLine' verso il 'searchPoint'. Se 'hasZ' è 'false' in 'searchPoint', la ricerca viene eseguita nelle coordinate x/y e il valore z viene interpolato.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dal 'searchPoint' a 'coordinate'.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La distanza planare dall'inizio della 'inputLine' misurata lungo la linea verso 'coordinate'. Nelle polilinee in cui i percorsi non si connettono, il valore 'distanceAlong' non include la distanza degli spazi vuoti tra i vertici iniziali e finali dei percorsi.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Nel caso di un input polilinea, l'indice del percorso al quale appartiene la coordinata.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - L'indice (relativo al percorso) del segmento di linea al quale appartiene la coordinata. Se 'coordinate' rappresenta un vertice della linea di input, 'segmentId' restituirà l'indice del vertice precedente. Se 'coordinate' è il primo vertice di 'inputLine', il valore di 'segmentId' sarà 0."
6424
6424
  }
6425
6425
  },
6426
6426
  "parametersInfo": {