@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##### Exemplo\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": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nã_Returns a knowledge graph from a portal item________________________Ç.\n\n**Parâmetros**\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**Valor de devolução**: [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##### Exemplo\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": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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": "track_functions",
206
150
  "title": "Funções de caminhos",
@@ -843,7 +787,7 @@
843
787
  "bundle": "core",
844
788
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
845
789
  "description": "Subtrai duas Datas e devolve a diferença nas unidades especificadas.",
846
- "examples": "\n##### Exemplos\n\nSubtrai duas Datas e devolve a idade\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",
790
+ "examples": "\n##### Exemplos\n\nSubtrai duas Datas e devolve a idade\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtrai duas Datas e devolve a diferença.\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",
847
791
  "completion": {
848
792
  "label": "DateDiff",
849
793
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -1782,8 +1726,8 @@
1782
1726
  "bundle": "core",
1783
1727
  "sinceVersion": "1.26",
1784
1728
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
1785
- "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.",
1786
- "examples": "\n##### Exemplos\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",
1729
+ "description": "Devolve um valor predefinido especificado se uma chave num dicionário não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.",
1730
+ "examples": "\n##### Exemplos\n\nDefaultValue devolve um valor definido\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 devolve um valor predefinido se não existir nenhum valor na chave especificada.\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 devolve uma predefinição se a chave não existir.\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",
1787
1731
  "completion": {
1788
1732
  "label": "DefaultValue",
1789
1733
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -1793,7 +1737,7 @@
1793
1737
  "kind": 3,
1794
1738
  "documentation": {
1795
1739
  "kind": "markdown",
1796
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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`."
1740
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve um valor predefinido especificado se uma chave num dicionário não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - O dicionário ou anexo a verificar.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave a verificar.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se a chave não existir ou se o valor a chave fornecida for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor na chave especificada, se definida. Caso contrário, devolve o valor especificado em `defaultValue`."
1797
1741
  }
1798
1742
  },
1799
1743
  "parametersInfo": {
@@ -1806,8 +1750,8 @@
1806
1750
  "name": "defaultvalue",
1807
1751
  "bundle": "core",
1808
1752
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
1809
- "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.",
1810
- "examples": "\n##### Exemplos\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",
1753
+ "description": "Devolve um valor predefinido especificado se, pelo menos, uma das chaves num dicionário aninhado não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.",
1754
+ "examples": "\n##### Exemplos\n\nDefaultValue devolve um valor definido\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 devolve um valor predefinido se não existir nenhum valor na chave especificada.\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 devolve uma predefinição se a chave não existir.\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\nVerificar o valor nulo numa matriz dentro de um dicionário com uma chave que existe\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",
1811
1755
  "completion": {
1812
1756
  "label": "DefaultValue",
1813
1757
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -1817,7 +1761,7 @@
1817
1761
  "kind": 3,
1818
1762
  "documentation": {
1819
1763
  "kind": "markdown",
1820
- "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**Parâmetros**\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**Valor de devolução**: [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`."
1764
+ "value": "Devolve um valor predefinido especificado se, pelo menos, uma das chaves num dicionário aninhado não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - O dicionário ou anexo a verificar.\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)> - Uma matriz das chaves ou índices a verificar em cada nível da estrutura do contentor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se, pelo menos, uma das chaves ou índices não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor na chave especificada ou no índice, se definido. Caso contrário, devolve o valor especificado em `defaultValue`."
1821
1765
  }
1822
1766
  },
1823
1767
  "parametersInfo": {
@@ -2008,8 +1952,8 @@
2008
1952
  "bundle": "core",
2009
1953
  "sinceVersion": "1.20",
2010
1954
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
2011
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
2012
- "examples": "\n##### Exemplos\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",
1955
+ "description": "Indica se um dicionário tem uma determinada chave e se essa chave tem um valor.",
1956
+ "examples": "\n##### Exemplos\n\nO dicionário com chave que tem um valor\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nO dicionário com chave que não tem um valor\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nO dicionário sem a chave fornecida\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nO dicionário sem a chave fornecida\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
2013
1957
  "completion": {
2014
1958
  "label": "HasValue",
2015
1959
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -2019,7 +1963,7 @@
2019
1963
  "kind": 3,
2020
1964
  "documentation": {
2021
1965
  "kind": "markdown",
2022
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1966
+ "value": "**[Desde a versão 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se um dicionário tem uma determinada chave e se essa chave tem um valor.\n\n**Parâmetros**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - O dicionário ou anexo a verificar.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O nome de campo ou chave a verificar.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2023
1967
  }
2024
1968
  },
2025
1969
  "parametersInfo": {
@@ -2033,8 +1977,8 @@
2033
1977
  "bundle": "core",
2034
1978
  "sinceVersion": "1.26",
2035
1979
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
2036
- "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.",
2037
- "examples": "\n##### Exemplos\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",
1980
+ "description": "Verifica se uma propriedade aninhada a vários níveis de profundidade num dicionário tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores em cada nível. Devolve `true` se as chaves e os índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
1981
+ "examples": "\n##### Exemplos\n\nVerificar dicionário com a chave que tem um valor aninhado\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\nVerificar o valor num dicionário com uma chave que não existe\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\nVerificar o valor numa matriz dentro de um dicionário com uma chave que existe\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",
2038
1982
  "completion": {
2039
1983
  "label": "HasValue",
2040
1984
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -2044,7 +1988,7 @@
2044
1988
  "kind": 3,
2045
1989
  "documentation": {
2046
1990
  "kind": "markdown",
2047
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1991
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se uma propriedade aninhada a vários níveis de profundidade num dicionário tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores em cada nível. Devolve `true` se as chaves e os índices em cada nível da estrutura existirem e incluírem um valor não nulo.\n\n**Parâmetros**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - O dicionário ou anexo a verificar.\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; - Uma matriz das chaves ou índices a verificar em cada nível da estrutura.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2048
1992
  }
2049
1993
  },
2050
1994
  "parametersInfo": {
@@ -2091,7 +2035,7 @@
2091
2035
  "sinceVersion": "1.7",
2092
2036
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
2093
2037
  "description": "Devolve o código de uma descrição de domínio associada num elemento.",
2094
- "examples": "\n##### Exemplo\n\nexibe a descrição de domínio para o campo referenciado.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
2038
+ "examples": "\n##### Exemplo\n\nimprime o código do domínio para o campo referenciado.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
2095
2039
  "completion": {
2096
2040
  "label": "DomainCode",
2097
2041
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -2314,8 +2258,8 @@
2314
2258
  "bundle": "core",
2315
2259
  "sinceVersion": "1.20",
2316
2260
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
2317
- "description": "Indicates whether a feature has a given field and if that field has a value.",
2318
- "examples": "\n##### Exemplo\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",
2261
+ "description": "Indica se a caraterística tem um determinado campo e se esse campo tem um valor.",
2262
+ "examples": "\n##### Exemplo\n\nDevolve false se o atributo do elemento não existir ou estiver vazio\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",
2319
2263
  "completion": {
2320
2264
  "label": "HasValue",
2321
2265
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -2325,7 +2269,7 @@
2325
2269
  "kind": 3,
2326
2270
  "documentation": {
2327
2271
  "kind": "markdown",
2328
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2272
+ "value": "**[Desde a versão 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se a caraterística tem um determinado campo e se esse campo tem um valor.\n\n**Parâmetros**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - O elemento a verificar.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O nome de campo a verificar.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2329
2273
  }
2330
2274
  },
2331
2275
  "parametersInfo": {
@@ -2945,8 +2889,8 @@
2945
2889
  "bundle": "data-access",
2946
2890
  "sinceVersion": "1.25",
2947
2891
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2948
- "description": "ã_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________Ç.",
2949
- "examples": "\n##### Exemplo\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",
2892
+ "description": "Cria um novo FeatureSet com todos os elementos que correspondem ao código do subtipo indicado.",
2893
+ "examples": "\n##### Exemplo\n\nFiltrar elementos com o código de subtipo\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2950
2894
  "completion": {
2951
2895
  "label": "FilterBySubtypeCode",
2952
2896
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -2956,7 +2900,7 @@
2956
2900
  "kind": 3,
2957
2901
  "documentation": {
2958
2902
  "kind": "markdown",
2959
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2903
+ "value": "**[Desde a versão 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCria um novo FeatureSet com todos os elementos que correspondem ao código do subtipo indicado.\n\n**Parâmetros**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - O FeatureSet ou a camada a filtrar.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O código do subtipo utilizado para filtrar elementos no FeatureSet ou na camada.\n\n**Valor de devolução**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2960
2904
  }
2961
2905
  },
2962
2906
  "parametersInfo": {
@@ -3979,8 +3923,8 @@
3979
3923
  "bundle": "core",
3980
3924
  "sinceVersion": "1.26",
3981
3925
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
3982
- "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.",
3983
- "examples": "\n##### Exemplos\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",
3926
+ "description": "Devolve um valor predefinido especificado se uma chave numa geometria não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.",
3927
+ "examples": "\n##### Exemplos\n\nPonto que tem um valor 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\nPonto que não tem um valor z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
3984
3928
  "completion": {
3985
3929
  "label": "DefaultValue",
3986
3930
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3990,7 +3934,7 @@
3990
3934
  "kind": 3,
3991
3935
  "documentation": {
3992
3936
  "kind": "markdown",
3993
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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`."
3937
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve um valor predefinido especificado se uma chave numa geometria não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - A geometria de entrada a verificar.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave a verificar.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se a chave não existir ou se o valor a chave fornecida for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor na chave especificada, se definida. Caso contrário, devolve o valor especificado em `defaultValue`."
3994
3938
  }
3995
3939
  },
3996
3940
  "parametersInfo": {
@@ -4003,8 +3947,8 @@
4003
3947
  "name": "defaultvalue",
4004
3948
  "bundle": "core",
4005
3949
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
4006
- "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.",
4007
- "examples": "\n##### Exemplos\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",
3950
+ "description": "Devolve um valor predefinido especificado se, pelo menos, uma das chaves nas propriedades aninhadas de uma geometria não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.",
3951
+ "examples": "\n##### Exemplos\n\nO anel, a coordenada e o valor x existem e têm um valor\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\nO anel não existe\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\nO anel e a coordenada existem, mas o valor m não existe\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",
4008
3952
  "completion": {
4009
3953
  "label": "DefaultValue",
4010
3954
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -4014,7 +3958,7 @@
4014
3958
  "kind": 3,
4015
3959
  "documentation": {
4016
3960
  "kind": "markdown",
4017
- "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**Parâmetros**\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**Valor de devolução**: [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`."
3961
+ "value": "Devolve um valor predefinido especificado se, pelo menos, uma das chaves nas propriedades aninhadas de uma geometria não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - A geometria de entrada a verificar.\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; - Uma matriz das chaves ou índices a verificar em cada nível da estrutura do contentor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se, pelo menos, uma das chaves ou índices não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor na chave especificada ou no índice, se definido. Caso contrário, devolve o valor especificado em `defaultValue`."
4018
3962
  }
4019
3963
  },
4020
3964
  "parametersInfo": {
@@ -4179,8 +4123,8 @@
4179
4123
  "bundle": "geometry",
4180
4124
  "sinceVersion": "1.26",
4181
4125
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
4182
- "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._",
4183
- "examples": "\n##### Exemplo\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",
4126
+ "description": "Devolve uma coordenada ao longo de uma linha de entrada com base numa determinada distância. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada distância. A distância não inclui os intervalos entre caminhos (ou partes) da linha. Se a distância não for encontrada ao longo da linha de entrada, então o resultado será `null`.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.",
4127
+ "examples": "\n##### Exemplo\n\nDevolve a coordenada da polilinha de entrada com base no valor de distância fornecido\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
4184
4128
  "completion": {
4185
4129
  "label": "DistanceToCoordinate",
4186
4130
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -4190,7 +4134,7 @@
4190
4134
  "kind": 3,
4191
4135
  "documentation": {
4192
4136
  "kind": "markdown",
4193
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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`."
4137
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve uma coordenada ao longo de uma linha de entrada com base numa determinada distância. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada distância. A distância não inclui os intervalos entre caminhos (ou partes) da linha. Se a distância não for encontrada ao longo da linha de entrada, então o resultado será `null`.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\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) - A linha ou o caminho a partir do qual se pode encontrar uma coordenada. Quando se utiliza um Elemento como entrada, a geometria do elemento tem de ser uma polilinha.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância utilizada para encontrar a coordenada ao longo de `inputLine` a partir do início da linha. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada distância. A distância não inclui os intervalos entre caminhos (ou partes) da linha. \n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades. Se a distância não for encontrada ao longo da linha de entrada, então o resultado será `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - As coordenadas de um ponto ao longo de `inputLine` com base no valor de distância fornecido.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar desde o início da `inputLine` medida ao longo da linha até `coordinate`. Em polilinhas onde os caminhos não se ligam, o valor `distanceAlong` não inclui a distância dos espaços entre os vértices inicial e final dos caminhos.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - No caso de uma entrada de polilinha, o índice do caminho ao qual pertence `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha a que pertence `coordinate`. Se `coordinate` representar um vértice da linha de entrada, então `segmentId` irá devolver o índice do vértice anterior. Se `coordinate` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
4194
4138
  }
4195
4139
  },
4196
4140
  "parametersInfo": {
@@ -4378,8 +4322,8 @@
4378
4322
  "bundle": "core",
4379
4323
  "sinceVersion": "1.26",
4380
4324
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
4381
- "description": "Indicates whether a geometry has a value at a given key or index.",
4382
- "examples": "\n##### Exemplos\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",
4325
+ "description": "Indica se uma geometria tem um valor numa determinada chave ou índice.",
4326
+ "examples": "\n##### Exemplos\n\nPonto que tem um valor z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPolígono com chave que não existe\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
4383
4327
  "completion": {
4384
4328
  "label": "HasValue",
4385
4329
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -4389,7 +4333,7 @@
4389
4333
  "kind": 3,
4390
4334
  "documentation": {
4391
4335
  "kind": "markdown",
4392
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4336
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se uma geometria tem um valor numa determinada chave ou índice.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - A geometria a verificar.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O nome da chave ou da propriedade a verificar.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4393
4337
  }
4394
4338
  },
4395
4339
  "parametersInfo": {
@@ -4403,8 +4347,8 @@
4403
4347
  "bundle": "core",
4404
4348
  "sinceVersion": "1.26",
4405
4349
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
4406
- "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.",
4407
- "examples": "\n##### Exemplos\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",
4350
+ "description": "Verifica se uma propriedade ou um índice aninhado a vários níveis de profundidade numa geometria tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores em cada nível. Devolve `true` se as chaves e os índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
4351
+ "examples": "\n##### Exemplos\n\nO anel, a coordenada e o valor x existem e têm um valor\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\nO anel não existe\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\nO anel e a coordenada existem, mas o valor m não existe\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",
4408
4352
  "completion": {
4409
4353
  "label": "HasValue",
4410
4354
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -4414,7 +4358,7 @@
4414
4358
  "kind": 3,
4415
4359
  "documentation": {
4416
4360
  "kind": "markdown",
4417
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4361
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se uma propriedade ou um índice aninhado a vários níveis de profundidade numa geometria tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores em cada nível. Devolve `true` se as chaves e os índices em cada nível da estrutura existirem e incluírem um valor não nulo.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - O dicionário ou elemento a verificar.\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; - Uma matriz das chaves ou índices a verificar em cada nível da estrutura.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4418
4362
  }
4419
4363
  },
4420
4364
  "parametersInfo": {
@@ -4604,8 +4548,8 @@
4604
4548
  "bundle": "geometry",
4605
4549
  "sinceVersion": "1.26",
4606
4550
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
4607
- "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._",
4608
- "examples": "\n##### Exemplo\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",
4551
+ "description": "Devolve a primeira coordenada ao longo de uma linha de entrada com base numa determinada medida, ou valor m. Se a medida não for encontrada ao longo da linha de entrada, então o resultado será `null`. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada medida. A medida não inclui os intervalos entre caminhos (ou partes) da linha.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.",
4552
+ "examples": "\n##### Exemplo\n\nDevolve a coordenada da polilinha de entrada com base no valor de medida fornecido\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
4609
4553
  "completion": {
4610
4554
  "label": "MeasureToCoordinate",
4611
4555
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -4615,7 +4559,7 @@
4615
4559
  "kind": 3,
4616
4560
  "documentation": {
4617
4561
  "kind": "markdown",
4618
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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`."
4562
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a primeira coordenada ao longo de uma linha de entrada com base numa determinada medida, ou valor m. Se a medida não for encontrada ao longo da linha de entrada, então o resultado será `null`. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada medida. A medida não inclui os intervalos entre caminhos (ou partes) da linha.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\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) - A linha ou o caminho a partir do qual se pode encontrar uma coordenada. A linha de entrada tem de ter `hasM` igual a `true`. Se `hasM` for `false`, então `null` será devolvido. Quando se utiliza um Elemento como entrada, a geometria do elemento tem de ser uma polilinha.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A medida, ou valor m, a partir da qual encontrar uma coordenada ao longo de `inputLine` desde o início da linha. Todas as partes da linha são consideradas quando se tenta encontrar uma coordenada a uma determinada medida. A medida não inclui os intervalos entre caminhos (ou partes) da linha.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades. Se a medida não for encontrada ao longo da linha de entrada, então o resultado será `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A primeira coordenada de um ponto ao longo de `inputLine` com base no valor de medida fornecido.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar desde o início da `inputLine` medida ao longo da linha até `coordinate`. Em polilinhas onde os caminhos não se ligam, o valor `distanceAlong` não inclui a distância dos espaços entre os vértices inicial e final dos caminhos.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - No caso de uma entrada de polilinha, o índice do caminho ao qual pertence `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha a que pertence `coordinate`. Se `coordinate` representar um vértice da linha de entrada, então `segmentId` irá devolver o índice do vértice anterior. Se `coordinate` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
4619
4563
  }
4620
4564
  },
4621
4565
  "parametersInfo": {
@@ -4739,7 +4683,7 @@
4739
4683
  "kind": 3,
4740
4684
  "documentation": {
4741
4685
  "kind": "markdown",
4742
- "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a coordenada mais próxima (não o vértice) da geometria de entrada para o ponto de pesquisa. O dicionário devolvido também inclui a distância planar mais curta entre o ponto de pesquisa e a coordenada mais próxima. Se o ponto de pesquisa intersectar a geometria de entrada, então o ponto de pesquisa é devolvido como resultado com uma distância de zero.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A geometria a partir da qual se obtém a coordenada mais próxima.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - O ponto a partir do qual se encontra a coordenada mais próxima de `inputGeometry`.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A coordenada mais próxima de `inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar da coordenada mais próxima ao `searchPoint`. Representa a distância mais curta entre inputGeometry` e `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4686
+ "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a coordenada mais próxima (não o vértice) da geometria de entrada para o ponto de pesquisa. O dicionário devolvido também inclui a distância planar mais curta entre o ponto de pesquisa e a coordenada mais próxima. Se o ponto de pesquisa intersectar a geometria de entrada, então o ponto de pesquisa é devolvido como resultado com uma distância de zero.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A geometria a partir da qual se obtém a coordenada mais próxima.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - O ponto a partir do qual se encontra a coordenada mais próxima de `inputGeometry`.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A coordenada mais próxima de `inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar da coordenada mais próxima ao `searchPoint`. Representa a distância mais curta entre inputGeometry` e `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A relação espacial entre `searchPoint` e o segmento de `inputGeometry` que conduz à coordenada mais próxima. Valores possíveis: \n\n`left` - O `searchPoint` está no lado esquerdo de `inputGeometry`.\n\n`right` - O `searchPoint` está no lado direito de `inputGeometry`.\n\n`straddle` - O `searchPoint` está sobreposto ou em cima da `inputGeometry`."
4743
4687
  }
4744
4688
  },
4745
4689
  "parametersInfo": {
@@ -4764,7 +4708,7 @@
4764
4708
  "kind": 3,
4765
4709
  "documentation": {
4766
4710
  "kind": "markdown",
4767
- "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o vértice mais próximo da geometria de entrada para o ponto de pesquisa. O dicionário devolvido inclui a distância planar do ponto de pesquisa ao vértice mais próximo.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A geometria a partir da qual se obtém o vértice mais próximo.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - O ponto a partir do qual se encontra o vértice mais próximo de `inputGeometry`.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A localização do ponto que representa o vértice mais próximo de `inputGeometry` para `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar do vértice mais próximo da geometria de entrada a `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4711
+ "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve o vértice mais próximo da geometria de entrada para o ponto de pesquisa. O dicionário devolvido inclui a distância planar do ponto de pesquisa ao vértice mais próximo.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A geometria a partir da qual se obtém o vértice mais próximo.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - O ponto a partir do qual se encontra o vértice mais próximo de `inputGeometry`.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A localização do ponto que representa o vértice mais próximo de `inputGeometry` para `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar do vértice mais próximo da geometria de entrada a `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A relação espacial entre `searchPoint` e o segmento de `inputGeometry` que conduz ao vértice mais próximo. Valores possíveis: \n\n`left` - O `searchPoint` está no lado esquerdo de `inputGeometry`.\n\n`right` - O `searchPoint` está no lado direito de `inputGeometry`.\n\n`straddle` - O `searchPoint` está sobreposto ou em cima da `inputGeometry`."
4768
4712
  }
4769
4713
  },
4770
4714
  "parametersInfo": {
@@ -4878,8 +4822,8 @@
4878
4822
  "bundle": "geometry",
4879
4823
  "sinceVersion": "1.26",
4880
4824
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
4881
- "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._",
4882
- "examples": "\n##### Exemplo\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",
4825
+ "description": "Devolve a coordenada mais próxima e a distância a essa coordenada do ponto de pesquisa para a linha de entrada.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.",
4826
+ "examples": "\n##### Exemplo\n\nDevolve a distância até à coordenada mais próxima ao longo da polilinha de entrada com base na localização clicada para abrir um 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",
4883
4827
  "completion": {
4884
4828
  "label": "PointToCoordinate",
4885
4829
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -4889,7 +4833,7 @@
4889
4833
  "kind": 3,
4890
4834
  "documentation": {
4891
4835
  "kind": "markdown",
4892
- "value": "**[Desde a versão 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**Parâmetros**\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**Valor de devolução**: [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`."
4836
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve a coordenada mais próxima e a distância a essa coordenada do ponto de pesquisa para a linha de entrada.\n\nAs geometrias de elementos nos perfis de visualização e de etiquetagem são generalizadas de acordo com a resolução de escala da visualização para melhorar o desempenho do desenho. Por isso, utilizar a geometria de um elemento (i.e. $feature`) como entrada para qualquer função de geometria nestes contextos irá devolver resultados diferentes a cada nível de escala. Outros perfis, como popup, fornecem a geometria de resolução completa.\n\n**Parâmetros**\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) - A linha ou o caminho a partir do qual se obtém a coordenada mais próxima. Quando se utiliza um Elemento como entrada, a geometria do elemento tem de ser uma polilinha.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - O ponto a partir do qual se encontra a coordenada mais próxima de `inputLine`.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A coordenada do ponto que representa a coordenada mais próxima ao longo de `inputLine` para `searchPoint`. Se `hasZ` for `false` em `searchPoint`, então a pesquisa é realizada em coordenadas x/y e o valor z é interpolado.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar de `searchPoint` a `coordinate`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar desde o início da `inputLine` medida ao longo da linha até `coordinate`. Em polilinhas onde os caminhos não se ligam, o valor `distanceAlong` não inclui a distância dos espaços entre os vértices inicial e final dos caminhos.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - No caso de uma entrada de polilinha, o índice do caminho ao qual pertence `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha a que pertence `coordinate`. Se `coordinate` representar um vértice da linha de entrada, então `segmentId` irá devolver o índice do vértice anterior. Se `coordinate` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
4893
4837
  }
4894
4838
  },
4895
4839
  "parametersInfo": {
@@ -5299,6 +5243,62 @@
5299
5243
  }
5300
5244
  ]
5301
5245
  },
5246
+ {
5247
+ "id": "knowledge-graph_functions",
5248
+ "title": "Funções de gráfico de conhecimentos",
5249
+ "items": [
5250
+ {
5251
+ "type": "function",
5252
+ "name": "knowledgegraphbyportalitem",
5253
+ "bundle": "knowledge-graph",
5254
+ "sinceVersion": "1.26",
5255
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
5256
+ "description": "Devolve um gráfico de conhecimentos de um item do portal.",
5257
+ "examples": "\n##### Exemplo\n\nDevolve o gráfico de conhecimentos do item do portal.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
5258
+ "completion": {
5259
+ "label": "KnowledgeGraphByPortalItem",
5260
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
5261
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
5262
+ "insertTextMode": 2,
5263
+ "insertTextFormat": 2,
5264
+ "kind": 3,
5265
+ "documentation": {
5266
+ "kind": "markdown",
5267
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve um gráfico de conhecimentos de um item do portal.\n\n**Parâmetros**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - O Portal a partir do qual se consultam as elementos.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O GUID do item do portal que faz referência a um serviço de gráfico de conhecimentos. _Este valor tem de ser um literal de texto.\n\n**Valor de devolução**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
5268
+ }
5269
+ },
5270
+ "parametersInfo": {
5271
+ "min": 2,
5272
+ "max": 2
5273
+ }
5274
+ },
5275
+ {
5276
+ "type": "function",
5277
+ "name": "querygraph",
5278
+ "bundle": "knowledge-graph",
5279
+ "sinceVersion": "1.26",
5280
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
5281
+ "description": "Consulta um gráfico de conhecimentos com uma consulta openCypher e devolve o conjunto de entidades e relações num gráfico, juntamente com as suas propriedades.",
5282
+ "examples": "\n##### Exemplos\n\nConsulta o gráfico de conhecimentos para obter informações sobre as entidades `Student` que o mesmo contém.\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\nConsulta o gráfico de conhecimentos com parâmetros de ligação.\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",
5283
+ "completion": {
5284
+ "label": "QueryGraph",
5285
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
5286
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
5287
+ "insertTextMode": 2,
5288
+ "insertTextFormat": 2,
5289
+ "kind": 3,
5290
+ "documentation": {
5291
+ "kind": "markdown",
5292
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nConsulta um gráfico de conhecimentos com uma consulta openCypher e devolve o conjunto de entidades e relações num gráfico, juntamente com as suas propriedades.\n\n**Parâmetros**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - O gráfico de conhecimentos a consultar.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A consulta openCypher a ser executada no gráfico de conhecimentos.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Um dicionário de parâmetros de consulta nomeados para a consulta openCypher. As chaves ou nomes de parâmetros no dicionário são sensíveis a maiúsculas e minúsculas. Os parâmetros aceites dependem do armazenamento externo de gráficos e podem ser do tipo: `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text`\n\n**Valor de devolução**: Array"
5293
+ }
5294
+ },
5295
+ "parametersInfo": {
5296
+ "min": 2,
5297
+ "max": 3
5298
+ }
5299
+ }
5300
+ ]
5301
+ },
5302
5302
  {
5303
5303
  "id": "array_functions",
5304
5304
  "title": "Funções de matriz",
@@ -5461,8 +5461,8 @@
5461
5461
  "bundle": "core",
5462
5462
  "sinceVersion": "1.26",
5463
5463
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
5464
- "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.",
5465
- "examples": "\n##### Exemplos\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",
5464
+ "description": "Devolve um valor predefinido especificado se um índice numa matriz não existir ou se o valor no índice especificado for `null` ou um valor de texto vazio.",
5465
+ "examples": "\n##### Exemplos\n\nMatriz com o valor no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nMatriz sem valor no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nMatriz com um valor nulo no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
5466
5466
  "completion": {
5467
5467
  "label": "DefaultValue",
5468
5468
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -5472,7 +5472,7 @@
5472
5472
  "kind": 3,
5473
5473
  "documentation": {
5474
5474
  "kind": "markdown",
5475
- "value": "**[Desde a versão 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**Parâmetros**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**Valor de devolução**: [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`."
5475
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nDevolve um valor predefinido especificado se um índice numa matriz não existir ou se o valor no índice especificado for `null` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - A matriz de entrada a verificar.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice a verificar.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se o índice não existir ou se o valor no índice fornecido for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor no índice especificado, se definido. Caso contrário, devolve o valor especificado em `defaultValue`."
5476
5476
  }
5477
5477
  },
5478
5478
  "parametersInfo": {
@@ -5485,8 +5485,8 @@
5485
5485
  "name": "defaultvalue",
5486
5486
  "bundle": "core",
5487
5487
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
5488
- "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.",
5489
- "examples": "\n##### Exemplos\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",
5488
+ "description": "Verifica se um índice aninhado a vários níveis de profundidade numa matriz multidimensional tem um valor e devolve esse valor se estiver presente. Caso contrário, esta função devolve um valor predefinido especificado se, pelo menos, uma das chaves ou índices aninhados não existir ou se o valor na chave ou índice especificado for `null` ou um valor de texto vazio. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores dentro de cada matriz.",
5489
+ "examples": "\n##### Exemplos\n\nMatriz com um valor no índice aninhado\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\nMatriz sem valor no índice aninhado\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\nMatriz com um valor no índice principal\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\nConjunto de dicionários com valores aninhados\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",
5490
5490
  "completion": {
5491
5491
  "label": "DefaultValue",
5492
5492
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5496,7 +5496,7 @@
5496
5496
  "kind": 3,
5497
5497
  "documentation": {
5498
5498
  "kind": "markdown",
5499
- "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**Parâmetros**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de devolução**: [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`."
5499
+ "value": "Verifica se um índice aninhado a vários níveis de profundidade numa matriz multidimensional tem um valor e devolve esse valor se estiver presente. Caso contrário, esta função devolve um valor predefinido especificado se, pelo menos, uma das chaves ou índices aninhados não existir ou se o valor na chave ou índice especificado for `null` ou um valor de texto vazio. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores dentro de cada matriz.\n\n**Parâmetros**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - A matriz de entrada a verificar.\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; - Uma matriz das chaves ou índices a verificar em cada nível da estrutura do contentor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é devolvido se, pelo menos, uma das chaves ou índices não existir ou se o valor na chave especificada for `null` ou um valor de texto vazio.\n\n**Valor de devolução**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nDevolve o valor na chave especificada ou no índice, se definido. Caso contrário, devolve o valor especificado em `defaultValue`."
5500
5500
  }
5501
5501
  },
5502
5502
  "parametersInfo": {
@@ -5663,8 +5663,8 @@
5663
5663
  "bundle": "core",
5664
5664
  "sinceVersion": "1.26",
5665
5665
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
5666
- "description": "Indicates whether an array has a value at the given index.",
5667
- "examples": "\n##### Exemplos\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",
5666
+ "description": "Indica se uma matriz tem um valor no índice fornecido.",
5667
+ "examples": "\n##### Exemplos\n\nMatriz com o valor no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nMatriz sem valor no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nMatriz com um valor nulo no índice fornecido\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
5668
5668
  "completion": {
5669
5669
  "label": "HasValue",
5670
5670
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -5674,7 +5674,7 @@
5674
5674
  "kind": 3,
5675
5675
  "documentation": {
5676
5676
  "kind": "markdown",
5677
- "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parâmetros**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5677
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se uma matriz tem um valor no índice fornecido.\n\n**Parâmetros**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - A matriz a verificar.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice a verificar.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5678
5678
  }
5679
5679
  },
5680
5680
  "parametersInfo": {
@@ -5688,8 +5688,8 @@
5688
5688
  "bundle": "core",
5689
5689
  "sinceVersion": "1.26",
5690
5690
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
5691
- "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.",
5692
- "examples": "\n##### Exemplos\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",
5691
+ "description": "Verifica se um índice aninhado a vários níveis de profundidade numa matriz multidimensional tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores dentro de cada matriz. Devolve `true` se os índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
5692
+ "examples": "\n##### Exemplos\n\nMatriz com um valor no índice aninhado\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nMatriz sem valor no índice aninhado\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nMatriz com um valor no índice principal\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nConjunto de dicionários com valores aninhados\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",
5693
5693
  "completion": {
5694
5694
  "label": "HasValue",
5695
5695
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -5699,7 +5699,7 @@
5699
5699
  "kind": 3,
5700
5700
  "documentation": {
5701
5701
  "kind": "markdown",
5702
- "value": "**[Desde a versão 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**Parâmetros**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5702
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se um índice aninhado a vários níveis de profundidade numa matriz multidimensional tem um valor. Isto permite-lhe pesquisar uma estrutura aninhada num passo, em vez de verificar os valores dentro de cada matriz. Devolve `true` se os índices em cada nível da estrutura existirem e incluírem um valor não nulo.\n\n**Parâmetros**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - A matriz a verificar.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - Uma matriz das chaves ou índices a verificar em cada nível da estrutura.\n\n**Valor de devolução**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5703
5703
  }
5704
5704
  },
5705
5705
  "parametersInfo": {