@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**Retornar valor**: [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**Retornar valor**: [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": "array_functions",
206
150
  "title": "Funções da matriz",
@@ -363,8 +307,8 @@
363
307
  "bundle": "core",
364
308
  "sinceVersion": "1.26",
365
309
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
366
- "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.",
367
- "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",
310
+ "description": "Retorna um valor padrão especificado se um índice em uma matriz não existir ou se o valor no índice especificado for `nulo` ou um valor de texto vazio.",
311
+ "examples": "\n##### Exemplos\n\nMatriz com 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",
368
312
  "completion": {
369
313
  "label": "DefaultValue",
370
314
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -374,7 +318,7 @@
374
318
  "kind": 3,
375
319
  "documentation": {
376
320
  "kind": "markdown",
377
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**Retornar valor**: [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`."
321
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna um valor padrão especificado se um índice em uma matriz não existir ou se o valor no índice especificado for `nulo` ou um valor de texto vazio.\n\n**Parâmetros**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - A matriz de entrada a ser verificada.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice a ser verificado.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se o índice não existir ou se o valor no índice especificado for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor no índice especificado, se definido. Caso contrário, retorna o valor especificado em `defaultValue`."
378
322
  }
379
323
  },
380
324
  "parametersInfo": {
@@ -387,8 +331,8 @@
387
331
  "name": "defaultvalue",
388
332
  "bundle": "core",
389
333
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
390
- "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.",
391
- "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",
334
+ "description": "Verifica se um índice agrupado em vários níveis de profundidade em uma matriz multidimensional tem um valor e retorna esse valor, se presente. Caso contrário, esta função retornará um valor padrão especificado se pelo menos uma das chaves ou índices agrupados não existir ou o valor na chave ou índice especificado for `nulo` ou um valor de texto vazio. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores dentro de cada matriz.",
335
+ "examples": "\n##### Exemplos\n\nMatriz com um valor no índice agrupado\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 agrupado\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 sem valor no índice pai\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\nMatriz de dicionários com valores agrupados\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",
392
336
  "completion": {
393
337
  "label": "DefaultValue",
394
338
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -398,7 +342,7 @@
398
342
  "kind": 3,
399
343
  "documentation": {
400
344
  "kind": "markdown",
401
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Retornar valor**: [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`."
345
+ "value": "Verifica se um índice agrupado em vários níveis de profundidade em uma matriz multidimensional tem um valor e retorna esse valor, se presente. Caso contrário, esta função retornará um valor padrão especificado se pelo menos uma das chaves ou índices agrupados não existir ou o valor na chave ou índice especificado for `nulo` ou um valor de texto vazio. Isso permite detalhar uma estrutura agrupada em uma única etapa, 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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - A matriz de entrada a ser verificada.\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 de chaves ou índices para verificar cada nível da estrutura do contêiner.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se pelo menos uma das chaves ou índices não existir ou o valor na chave especificada for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor na chave ou índice especificado, se definido. Caso contrário, retorna o valor especificado em `defaultValue`."
402
346
  }
403
347
  },
404
348
  "parametersInfo": {
@@ -565,8 +509,8 @@
565
509
  "bundle": "core",
566
510
  "sinceVersion": "1.26",
567
511
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
568
- "description": "Indicates whether an array has a value at the given index.",
569
- "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",
512
+ "description": "Indica se uma matriz possui um valor no índice fornecido.",
513
+ "examples": "\n##### Exemplos\n\nMatriz com 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",
570
514
  "completion": {
571
515
  "label": "HasValue",
572
516
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -576,7 +520,7 @@
576
520
  "kind": 3,
577
521
  "documentation": {
578
522
  "kind": "markdown",
579
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
523
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se uma matriz possui um valor no índice fornecido.\n\n**Parâmetros**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - A matriz a ser verificada.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice a ser verificado.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
580
524
  }
581
525
  },
582
526
  "parametersInfo": {
@@ -590,8 +534,8 @@
590
534
  "bundle": "core",
591
535
  "sinceVersion": "1.26",
592
536
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
593
- "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.",
594
- "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",
537
+ "description": "Verifica se um índice agrupado em vários níveis de profundidade em uma matriz multidimensional tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores dentro de cada matriz. Retorna `true` se os índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
538
+ "examples": "\n##### Exemplos\n\nMatriz com um valor no índice agrupado\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 agrupado\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nMatriz sem valor no índice pai\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nMatriz de dicionários com valores agrupados\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",
595
539
  "completion": {
596
540
  "label": "HasValue",
597
541
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -601,7 +545,7 @@
601
545
  "kind": 3,
602
546
  "documentation": {
603
547
  "kind": "markdown",
604
- "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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
548
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se um índice agrupado em vários níveis de profundidade em uma matriz multidimensional tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores dentro de cada matriz. Retorna `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)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - A matriz a ser verificada.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Uma matriz de chaves ou índices a serem verificados em cada nível da estrutura.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
605
549
  }
606
550
  },
607
551
  "parametersInfo": {
@@ -1195,7 +1139,7 @@
1195
1139
  "bundle": "core",
1196
1140
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1197
1141
  "description": "Subtrai duas datas, e retorna a diferença nas unidades especificadas.",
1198
- "examples": "\n##### Exemplos\n\nSubtraia duas datas e retorna 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",
1142
+ "examples": "\n##### Exemplos\n\nSubtraia duas datas e retorna 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 retorna 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",
1199
1143
  "completion": {
1200
1144
  "label": "DateDiff",
1201
1145
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -2159,7 +2103,7 @@
2159
2103
  "sinceVersion": "1.7",
2160
2104
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
2161
2105
  "description": "Retorna o código de uma descrição de domínio associada em uma feição.",
2162
- "examples": "\n##### Exemplo\n\nimprime a descrição de domínio do campo referenciado.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
2106
+ "examples": "\n##### Exemplo\n\nimprime o código de domínio para o campo referenciado.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
2163
2107
  "completion": {
2164
2108
  "label": "DomainCode",
2165
2109
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -2382,8 +2326,8 @@
2382
2326
  "bundle": "core",
2383
2327
  "sinceVersion": "1.20",
2384
2328
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
2385
- "description": "Indicates whether a feature has a given field and if that field has a value.",
2386
- "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",
2329
+ "description": "Indica se uma feição possui um determinado campo e se esse campo possui um valor.",
2330
+ "examples": "\n##### Exemplo\n\nRetorne falso se o atributo da feição 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",
2387
2331
  "completion": {
2388
2332
  "label": "HasValue",
2389
2333
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -2393,7 +2337,7 @@
2393
2337
  "kind": 3,
2394
2338
  "documentation": {
2395
2339
  "kind": "markdown",
2396
- "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**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2340
+ "value": "**[Desde a versão 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se uma feição possui um determinado campo e se esse campo possui um valor.\n\n**Parâmetros**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A feição a ser verificada.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O nome do campo a ser verificado.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2397
2341
  }
2398
2342
  },
2399
2343
  "parametersInfo": {
@@ -2920,8 +2864,8 @@
2920
2864
  "bundle": "core",
2921
2865
  "sinceVersion": "1.26",
2922
2866
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
2923
- "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.",
2924
- "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",
2867
+ "description": "Retorna um valor padrão especificado se uma chave em uma geometria não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.",
2868
+ "examples": "\n##### Exemplos\n\nPonto que tem 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 possui valor z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
2925
2869
  "completion": {
2926
2870
  "label": "DefaultValue",
2927
2871
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -2931,7 +2875,7 @@
2931
2875
  "kind": 3,
2932
2876
  "documentation": {
2933
2877
  "kind": "markdown",
2934
- "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**Retornar valor**: [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`."
2878
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna um valor padrão especificado se uma chave em uma geometria não existir ou se o valor na chave especificada for `nulo` 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 ser verificada.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave para verificar.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se a chave não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor na chave especificada, se definida. Caso contrário, retorna o valor especificado em `defaultValue`."
2935
2879
  }
2936
2880
  },
2937
2881
  "parametersInfo": {
@@ -2944,8 +2888,8 @@
2944
2888
  "name": "defaultvalue",
2945
2889
  "bundle": "core",
2946
2890
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
2947
- "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.",
2948
- "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",
2891
+ "description": "Retorna um valor padrão especificado se pelo menos uma das chaves nas propriedades agrupadas de uma geometria não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.",
2892
+ "examples": "\n##### Exemplos\n\nAnel, coordenada e 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\nAnel e 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",
2949
2893
  "completion": {
2950
2894
  "label": "DefaultValue",
2951
2895
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -2955,7 +2899,7 @@
2955
2899
  "kind": 3,
2956
2900
  "documentation": {
2957
2901
  "kind": "markdown",
2958
- "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)<[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**Retornar valor**: [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`."
2902
+ "value": "Retorna um valor padrão especificado se pelo menos uma das chaves nas propriedades agrupadas de uma geometria não existir ou se o valor na chave especificada for `nulo` 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 ser verificada.\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 de chaves ou índices para verificar cada nível da estrutura do contêiner.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se pelo menos uma das chaves ou índices não existir ou o valor na chave especificada for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor na chave ou índice especificado, se definido. Caso contrário, retorna o valor especificado em `defaultValue`."
2959
2903
  }
2960
2904
  },
2961
2905
  "parametersInfo": {
@@ -3120,8 +3064,8 @@
3120
3064
  "bundle": "geometry",
3121
3065
  "sinceVersion": "1.26",
3122
3066
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
3123
- "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._",
3124
- "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",
3067
+ "description": "Retorna uma coordenada ao longo de uma linha de entrada com base em uma determinada distância. Todas as partes da linha são consideradas ao tentar encontrar uma coordenada a uma determinada distância. A distância não inclui intervalos entre caminhos (ou partes) da linha. Se a distância não for encontrada ao longo da linha de entrada, o resultado será `nulo`.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._",
3068
+ "examples": "\n##### Exemplo\n\nRetorna 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",
3125
3069
  "completion": {
3126
3070
  "label": "DistanceToCoordinate",
3127
3071
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -3131,7 +3075,7 @@
3131
3075
  "kind": 3,
3132
3076
  "documentation": {
3133
3077
  "kind": "markdown",
3134
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Retornar valor**: [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`."
3078
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna uma coordenada ao longo de uma linha de entrada com base em uma determinada distância. Todas as partes da linha são consideradas ao tentar encontrar uma coordenada a uma determinada distância. A distância não inclui intervalos entre caminhos (ou partes) da linha. Se a distância não for encontrada ao longo da linha de entrada, o resultado será `nulo`.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A linha ou caminho para localizar uma coordenada. Ao usar uma feição como entrada, a geometria da feição deve ser uma polilinha.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância usada para encontrar a coordenada ao longo de `inputLine` desde o início da linha. Todas as partes da linha são consideradas ao tentar encontrar uma coordenada a uma determinada distância. A distância não inclui intervalos entre caminhos (ou partes) da linha. \n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário com as seguintes propriedades. Se a distância não for encontrada ao longo da linha de entrada, o resultado será `nulo`.\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 plana do início da `inputLine` medida ao longo da linha até a `coordenada`. Em polilinhas onde os caminhos não se conectam, o valor `distanceAlong` não inclui a distância dos intervalos 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 polilinha, o índice do caminho ao qual pertence a `coordenada`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha ao qual a `coordenada` pertence. Se `coordenada` representa um vértice da linha de entrada, então `segmentId` retornará o índice do vértice anterior. Se `coordenada` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
3135
3079
  }
3136
3080
  },
3137
3081
  "parametersInfo": {
@@ -3319,8 +3263,8 @@
3319
3263
  "bundle": "core",
3320
3264
  "sinceVersion": "1.26",
3321
3265
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
3322
- "description": "Indicates whether a geometry has a value at a given key or index.",
3323
- "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",
3266
+ "description": "Indica se uma geometria tem um valor em uma determinada chave ou índice.",
3267
+ "examples": "\n##### Exemplos\n\nPonto que tem valor z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPonto que possui um valor z Polí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",
3324
3268
  "completion": {
3325
3269
  "label": "HasValue",
3326
3270
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -3330,7 +3274,7 @@
3330
3274
  "kind": 3,
3331
3275
  "documentation": {
3332
3276
  "kind": "markdown",
3333
- "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**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3277
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica se uma geometria tem um valor em uma determinada chave ou índice.\n\n**Parâmetros**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - A geometria a ser verificada.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave ou nome da propriedade a ser verificada.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3334
3278
  }
3335
3279
  },
3336
3280
  "parametersInfo": {
@@ -3344,8 +3288,8 @@
3344
3288
  "bundle": "core",
3345
3289
  "sinceVersion": "1.26",
3346
3290
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
3347
- "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.",
3348
- "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",
3291
+ "description": "Verifica se uma propriedade ou índice agrupado em vários níveis de profundidade em uma geometria tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores em cada nível. Retorna `true` se as chaves e índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
3292
+ "examples": "\n##### Exemplos\n\nAnel, coordenada e 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\nAnel e 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",
3349
3293
  "completion": {
3350
3294
  "label": "HasValue",
3351
3295
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -3355,7 +3299,7 @@
3355
3299
  "kind": 3,
3356
3300
  "documentation": {
3357
3301
  "kind": "markdown",
3358
- "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)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3302
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se uma propriedade ou índice agrupado em vários níveis de profundidade em uma geometria tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores em cada nível. Retorna `true` se as chaves e í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 feição a ser verificada.\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 de chaves ou índices a serem verificados em cada nível da estrutura.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3359
3303
  }
3360
3304
  },
3361
3305
  "parametersInfo": {
@@ -3545,8 +3489,8 @@
3545
3489
  "bundle": "geometry",
3546
3490
  "sinceVersion": "1.26",
3547
3491
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
3548
- "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._",
3549
- "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",
3492
+ "description": "Retorna a primeira coordenada ao longo de uma linha de entrada com base em uma determinada medida ou valor m. Se a medida não for encontrada ao longo da linha de entrada, o resultado será `nulo`. Todas as partes da linha são consideradas ao tentar encontrar uma coordenada na medida dada. A medida não inclui intervalos entre caminhos (ou partes) da linha.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._",
3493
+ "examples": "\n##### Exemplo\n\nRetorna a coordenada da polilinha de entrada com base no valor da medida fornecido\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
3550
3494
  "completion": {
3551
3495
  "label": "MeasureToCoordinate",
3552
3496
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -3556,7 +3500,7 @@
3556
3500
  "kind": 3,
3557
3501
  "documentation": {
3558
3502
  "kind": "markdown",
3559
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Retornar valor**: [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`."
3503
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a primeira coordenada ao longo de uma linha de entrada com base em uma determinada medida ou valor m. Se a medida não for encontrada ao longo da linha de entrada, o resultado será `nulo`. Todas as partes da linha são consideradas ao tentar encontrar uma coordenada na medida dada. A medida não inclui intervalos entre caminhos (ou partes) da linha.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A linha ou caminho para localizar uma coordenada. A linha de entrada deve ter `hasM` igual a `true`. Se `hasM` for `false`, então `null` será retornado. Ao usar uma feição como entrada, a geometria da feição deve 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 ao tentar encontrar uma coordenada na medida dada. A medida não inclui intervalos entre caminhos (ou partes) da linha.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário com as seguintes propriedades. Se a medida não for encontrada ao longo da linha de entrada, o resultado será `nulo`.\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 plana do início da `inputLine` medida ao longo da linha até a `coordenada`. Em polilinhas onde os caminhos não se conectam, o valor `distanceAlong` não inclui a distância dos intervalos 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 polilinha, o índice do caminho ao qual pertence a `coordenada`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha ao qual a `coordenada` pertence. Se `coordenada` representa um vértice da linha de entrada, então `segmentId` retornará o índice do vértice anterior. Se `coordenada` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
3560
3504
  }
3561
3505
  },
3562
3506
  "parametersInfo": {
@@ -3680,7 +3624,7 @@
3680
3624
  "kind": 3,
3681
3625
  "documentation": {
3682
3626
  "kind": "markdown",
3683
- "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a coordenada mais próxima (não o vértice) da geometria de entrada para o ponto de pesquisa. O dicionário retornado também inclui a distância planar mais curta do ponto de pesquisa até a coordenada mais próxima. Se o ponto de pesquisa interseccionar a geometria de entrada, o ponto de pesquisa será retornado como resultado com uma distância zero.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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 da qual obter 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 encontrar a coordenada mais próxima de `inputGeometry`.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A coordenada mais próxima do `inputGeometry` ao `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar da coordenada mais próxima ao `searchPoint`. Isso representa a distância mais curta entre `inputGeometry` e `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
3627
+ "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a coordenada mais próxima (não o vértice) da geometria de entrada para o ponto de pesquisa. O dicionário retornado também inclui a distância planar mais curta do ponto de pesquisa até a coordenada mais próxima. Se o ponto de pesquisa interseccionar a geometria de entrada, o ponto de pesquisa será retornado como resultado com uma distância zero.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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 da qual obter 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 encontrar a coordenada mais próxima de `inputGeometry`.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário com as seguintes propriedades.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - A coordenada mais próxima do `inputGeometry` ao `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância planar da coordenada mais próxima ao `searchPoint`. Isso 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 leva à coordenada mais próxima. Valores possíveis: \n\n`left` - O `searchPoint` está no lado esquerdo do `inputGeometry`.\n\n`right` - O `searchPoint` está no lado direito do `inputGeometry`.\n\n`straddle` - O `searchPoint` atravessa ou está no topo do `inputGeometry`."
3684
3628
  }
3685
3629
  },
3686
3630
  "parametersInfo": {
@@ -3705,7 +3649,7 @@
3705
3649
  "kind": 3,
3706
3650
  "documentation": {
3707
3651
  "kind": "markdown",
3708
- "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o vértice mais próximo da geometria de entrada ao ponto de pesquisa. O dicionário retornado inclui a distância planar do ponto de busca até o vértice mais próximo.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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 da qual obter 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 encontrar o vértice mais próximo do `inputGeometry`.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna 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 do `inputGeometry` ao `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 ao `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
3652
+ "value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna o vértice mais próximo da geometria de entrada ao ponto de pesquisa. O dicionário retornado inclui a distância planar do ponto de busca até o vértice mais próximo.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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 da qual obter 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 encontrar o vértice mais próximo do `inputGeometry`.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna 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 do `inputGeometry` ao `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 ao `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A relação espacial entre o `searchPoint` e o segmento do `inputGeometry` que leva ao vértice mais próximo. Valores possíveis: \n\n`left` - O `searchPoint` está no lado esquerdo do `inputGeometry`.\n\n`right` - O `searchPoint` está no lado direito do `inputGeometry`.\n\n`straddle` - O `searchPoint` atravessa ou está no topo do `inputGeometry`."
3709
3653
  }
3710
3654
  },
3711
3655
  "parametersInfo": {
@@ -3819,8 +3763,8 @@
3819
3763
  "bundle": "geometry",
3820
3764
  "sinceVersion": "1.26",
3821
3765
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
3822
- "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._",
3823
- "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",
3766
+ "description": "Retorna a coordenada mais próxima e a distância dessa coordenada do ponto de pesquisa até a linha de entrada.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._",
3767
+ "examples": "\n##### Exemplo\n\nRetorna a distância até a coordenada mais próxima ao longo da polilinha de entrada com base no local clicado para abrir um pop-up\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
3824
3768
  "completion": {
3825
3769
  "label": "PointToCoordinate",
3826
3770
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -3830,7 +3774,7 @@
3830
3774
  "kind": 3,
3831
3775
  "documentation": {
3832
3776
  "kind": "markdown",
3833
- "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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Retornar valor**: [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`."
3777
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna a coordenada mais próxima e a distância dessa coordenada do ponto de pesquisa até a linha de entrada.\n\n_Geometrias da feição nos perfis de visualização e rotulagem são generalizadas de acordo com a resolução da escala de visualização para melhorar o desempenho de desenho. Portanto, usando a geometria de uma feição (ex: `$feature`) como entrada para qualquer função de geometria nesses contextos retornará resultados diferentes em cada nível de escala. Outros perfis, como pop-up, fornecem a geometria de resolução total._\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)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - A linha ou caminho a partir do qual obter a coordenada mais próxima. Ao usar uma feição como entrada, a geometria da feição deve ser uma polilinha.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - O ponto a partir do qual encontrar a coordenada mais próxima de `inputLine`.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna 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` até `searchPoint`. Se `hasZ` for `false` em `searchPoint`, então a pesquisa é realizada nas coordenadas x/y e o valor z é interpolado.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância plana do `searchPoint` até a `coordenada`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A distância plana do início da `inputLine` medida ao longo da linha até a `coordenada`. Em polilinhas onde os caminhos não se conectam, o valor `distanceAlong` não inclui a distância dos intervalos 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 polilinha, o índice do caminho ao qual pertence a `coordenada`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O índice (relativo ao caminho) do segmento de linha ao qual a `coordenada` pertence. Se `coordenada` representa um vértice da linha de entrada, então `segmentId` retornará o índice do vértice anterior. Se `coordenada` for o primeiro vértice de `inputLine`, então o valor de `segmentId` será `0`."
3834
3778
  }
3835
3779
  },
3836
3780
  "parametersInfo": {
@@ -5175,8 +5119,8 @@
5175
5119
  "bundle": "core",
5176
5120
  "sinceVersion": "1.26",
5177
5121
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
5178
- "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.",
5179
- "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",
5122
+ "description": "Retorna um valor padrão especificado se uma chave em um dicionário não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.",
5123
+ "examples": "\n##### Exemplos\n\nDefaultValue retorna 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 retorna um padrão se não houver 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 retorna um padrã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",
5180
5124
  "completion": {
5181
5125
  "label": "DefaultValue",
5182
5126
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -5186,7 +5130,7 @@
5186
5130
  "kind": 3,
5187
5131
  "documentation": {
5188
5132
  "kind": "markdown",
5189
- "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**Retornar valor**: [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`."
5133
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna um valor padrão especificado se uma chave em um dicionário não existir ou se o valor na chave especificada for `nulo` 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 ser verificado.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave para verificar.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se a chave não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor na chave especificada, se definida. Caso contrário, retorna o valor especificado em `defaultValue`."
5190
5134
  }
5191
5135
  },
5192
5136
  "parametersInfo": {
@@ -5199,8 +5143,8 @@
5199
5143
  "name": "defaultvalue",
5200
5144
  "bundle": "core",
5201
5145
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
5202
- "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.",
5203
- "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",
5146
+ "description": "Retorna um valor padrão especificado se pelo menos uma das chaves em um dicionário agrupado não existir ou se o valor na chave especificada for `nulo` ou um valor de texto vazio.",
5147
+ "examples": "\n##### Exemplos\n\nDefaultValue retorna 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 retorna um padrão se não houver 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 retorna um padrã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\nVerifique o valor nulo em uma matriz dentro de um dicionário com chave existente\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",
5204
5148
  "completion": {
5205
5149
  "label": "DefaultValue",
5206
5150
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5210,7 +5154,7 @@
5210
5154
  "kind": 3,
5211
5155
  "documentation": {
5212
5156
  "kind": "markdown",
5213
- "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**Retornar valor**: [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`."
5157
+ "value": "Retorna um valor padrão especificado se pelo menos uma das chaves em um dicionário agrupado não existir ou se o valor na chave especificada for `nulo` 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 ser verificado.\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 de chaves ou índices para verificar cada nível da estrutura do contêiner.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Este valor é retornado se pelo menos uma das chaves ou índices não existir ou o valor na chave especificada for `nulo` ou um valor de texto vazio.\n\n**Retornar valor**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna o valor na chave ou índice especificado, se definido. Caso contrário, retorna o valor especificado em `defaultValue`."
5214
5158
  }
5215
5159
  },
5216
5160
  "parametersInfo": {
@@ -5401,8 +5345,8 @@
5401
5345
  "bundle": "core",
5402
5346
  "sinceVersion": "1.20",
5403
5347
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
5404
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
5405
- "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",
5348
+ "description": "Indica se um dicionário tem uma determinada chave e se essa chave tem um valor.",
5349
+ "examples": "\n##### Exemplos\n\nDicioná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\nDicionário com chave que não tem valor\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDicionário sem a chave fornecida\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDicioná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",
5406
5350
  "completion": {
5407
5351
  "label": "HasValue",
5408
5352
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -5412,7 +5356,7 @@
5412
5356
  "kind": 3,
5413
5357
  "documentation": {
5414
5358
  "kind": "markdown",
5415
- "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**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5359
+ "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 ser verificado.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A chave ou nome de campo para verificar.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5416
5360
  }
5417
5361
  },
5418
5362
  "parametersInfo": {
@@ -5426,8 +5370,8 @@
5426
5370
  "bundle": "core",
5427
5371
  "sinceVersion": "1.26",
5428
5372
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
5429
- "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.",
5430
- "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",
5373
+ "description": "Verifica se uma propriedade agrupada em vários níveis em um dicionário tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores em cada nível. Retorna `true` se as chaves e índices em cada nível da estrutura existirem e incluírem um valor não nulo.",
5374
+ "examples": "\n##### Exemplos\n\nVerifique o dicionário com a chave que possui um valor agupado\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\nVerifique o valor em um dicionário com 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\nVerifique o valor em uma matriz dentro de um dicionário com 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",
5431
5375
  "completion": {
5432
5376
  "label": "HasValue",
5433
5377
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -5437,7 +5381,7 @@
5437
5381
  "kind": 3,
5438
5382
  "documentation": {
5439
5383
  "kind": "markdown",
5440
- "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**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5384
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVerifica se uma propriedade agrupada em vários níveis em um dicionário tem um valor. Isso permite detalhar uma estrutura agrupada em uma única etapa, em vez de verificar os valores em cada nível. Retorna `true` se as chaves e í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 ser verificado.\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 de chaves ou índices a serem verificados em cada nível da estrutura.\n\n**Retornar valor**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5441
5385
  }
5442
5386
  },
5443
5387
  "parametersInfo": {
@@ -5448,6 +5392,62 @@
5448
5392
  ]
5449
5393
  ]
5450
5394
  },
5395
+ {
5396
+ "id": "knowledge-graph_functions",
5397
+ "title": "Funções do gráfico de conhecimento",
5398
+ "items": [
5399
+ {
5400
+ "type": "function",
5401
+ "name": "knowledgegraphbyportalitem",
5402
+ "bundle": "knowledge-graph",
5403
+ "sinceVersion": "1.26",
5404
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
5405
+ "description": "Retorna um gráfico de conhecimento de um item do portal.",
5406
+ "examples": "\n##### Exemplo\n\nRetorna o gráfico de conhecimento do item do portal.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
5407
+ "completion": {
5408
+ "label": "KnowledgeGraphByPortalItem",
5409
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
5410
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
5411
+ "insertTextMode": 2,
5412
+ "insertTextFormat": 2,
5413
+ "kind": 3,
5414
+ "documentation": {
5415
+ "kind": "markdown",
5416
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna um gráfico de conhecimento de um item do portal.\n\n**Parâmetros**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - O Portal para consultar feições.\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 conhecimento. _Este valor deve ser um texto literal._\n\n**Retornar valor**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
5417
+ }
5418
+ },
5419
+ "parametersInfo": {
5420
+ "min": 2,
5421
+ "max": 2
5422
+ }
5423
+ },
5424
+ {
5425
+ "type": "function",
5426
+ "name": "querygraph",
5427
+ "bundle": "knowledge-graph",
5428
+ "sinceVersion": "1.26",
5429
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
5430
+ "description": "Consulta um gráfico de conhecimento com uma consulta openCypher e retorna o conjunto de entidades e relacionamentos em um gráfico, juntamente com suas propriedades.",
5431
+ "examples": "\n##### Exemplos\n\nConsulta o gráfico de conhecimento para obter informações sobre as entidades `Student` que ele 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 conhecimento usando 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",
5432
+ "completion": {
5433
+ "label": "QueryGraph",
5434
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
5435
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
5436
+ "insertTextMode": 2,
5437
+ "insertTextFormat": 2,
5438
+ "kind": 3,
5439
+ "documentation": {
5440
+ "kind": "markdown",
5441
+ "value": "**[Desde a versão 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nConsulta um gráfico de conhecimento com uma consulta openCypher e retorna o conjunto de entidades e relacionamentos em um gráfico, juntamente com suas propriedades.\n\n**Parâmetros**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - O gráfico de conhecimento a ser consultado.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A consulta openCypher a ser executada no gráfico de conhecimento.\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. Os nomes dos parâmetros ou chaves no dicionário diferenciam maiúsculas de minúsculas. Os parâmetros aceitos dependem do armazenamento de gráfico externo e podem ser do tipo: `Matriz`, `Data`, `Dicionário`, `Geometria`, `Número`, `Texto`\n\n**Retornar valor**: Array"
5442
+ }
5443
+ },
5444
+ "parametersInfo": {
5445
+ "min": 2,
5446
+ "max": 3
5447
+ }
5448
+ }
5449
+ ]
5450
+ },
5451
5451
  {
5452
5452
  "id": "portal_functions",
5453
5453
  "title": "Funções do portal",
@@ -6097,8 +6097,8 @@
6097
6097
  "bundle": "data-access",
6098
6098
  "sinceVersion": "1.25",
6099
6099
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
6100
- "description": "ã_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________Ç.",
6101
- "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",
6100
+ "description": "Cria um novo FeatureSet com todas as feições que correspondem ao código de subtipo fornecido.",
6101
+ "examples": "\n##### Exemplo\n\nFiltrar feições com o código do subtipo\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
6102
6102
  "completion": {
6103
6103
  "label": "FilterBySubtypeCode",
6104
6104
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -6108,7 +6108,7 @@
6108
6108
  "kind": 3,
6109
6109
  "documentation": {
6110
6110
  "kind": "markdown",
6111
- "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**Retornar valor**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
6111
+ "value": "**[Desde a versão 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCria um novo FeatureSet com todas as feições que correspondem ao código de subtipo fornecido.\n\n**Parâmetros**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - O FeatureSet ou camada, para filtrar.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O código do subtipo usado para filtrar feições na FeatureSet ou na camada.\n\n**Retornar valor**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
6112
6112
  }
6113
6113
  },
6114
6114
  "parametersInfo": {