@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
@@ -181,7 +181,7 @@
181
181
  "sinceVersion": "1.7",
182
182
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
183
183
  "description": "Retorna el codi de la descripció d'un domini associat d'una entitat.",
184
- "examples": "\n##### Exemple\n\nImprimeix la descripció del domini del camp al qual es fa referència.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
184
+ "examples": "\n##### Exemple\n\nimprimeix el codi del domini del camp al qual es fa referència.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
185
185
  "completion": {
186
186
  "label": "DomainCode",
187
187
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -404,8 +404,8 @@
404
404
  "bundle": "core",
405
405
  "sinceVersion": "1.20",
406
406
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
407
- "description": "Indicates whether a feature has a given field and if that field has a value.",
408
- "examples": "\n##### Exemple\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",
407
+ "description": "Indica si una entitat un camp determinat i si aquest camp un valor.",
408
+ "examples": "\n##### Exemple\n\nRetorna false si l'atribut de l'entitat no existeix o està buit\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",
409
409
  "completion": {
410
410
  "label": "HasValue",
411
411
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -415,7 +415,7 @@
415
415
  "kind": 3,
416
416
  "documentation": {
417
417
  "kind": "markdown",
418
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
418
+ "value": "**[A partir de la versió 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica si una entitat un camp determinat i si aquest camp un valor.\n\n**Paràmetres**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Entitat que es comprovarà.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Nom del camp que es comprovarà.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
419
419
  }
420
420
  },
421
421
  "parametersInfo": {
@@ -761,7 +761,7 @@
761
761
  "bundle": "core",
762
762
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
763
763
  "description": "Sostreu dues dates i retorna la diferència en les unitats especificades.",
764
- "examples": "\n##### Exemples\n\nSostreu dues dates i retorna l'edat\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",
764
+ "examples": "\n##### Exemples\n\nSostreu dues dates i retorna l'edat\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSostreu dues dates i retorna la diferència\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",
765
765
  "completion": {
766
766
  "label": "DateDiff",
767
767
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -1700,8 +1700,8 @@
1700
1700
  "bundle": "core",
1701
1701
  "sinceVersion": "1.26",
1702
1702
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
1703
- "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.",
1704
- "examples": "\n##### Exemples\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",
1703
+ "description": "Retorna un valor per defecte especificat si no existeix una clau en un diccionari o si el valor a la clau especificada és `null` o un valor de text buit.",
1704
+ "examples": "\n##### Exemples\n\nDefaultValue retorna un valor definit\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 un valor per defecte si no n'hi ha cap a la clau 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 un valor per defecte si no existeix la clau.\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",
1705
1705
  "completion": {
1706
1706
  "label": "DefaultValue",
1707
1707
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -1711,7 +1711,7 @@
1711
1711
  "kind": 3,
1712
1712
  "documentation": {
1713
1713
  "kind": "markdown",
1714
- "value": "**[A partir de la versió 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àmetres**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
1714
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna un valor per defecte especificat si no existeix una clau en un diccionari o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Paràmetres**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Diccionari o fitxer adjunt que es comprovarà.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Clau que es comprovarà.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si la clau no existeix o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a la clau especificada, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
1715
1715
  }
1716
1716
  },
1717
1717
  "parametersInfo": {
@@ -1724,8 +1724,8 @@
1724
1724
  "name": "defaultvalue",
1725
1725
  "bundle": "core",
1726
1726
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
1727
- "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.",
1728
- "examples": "\n##### Exemples\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",
1727
+ "description": "Retorna un valor per defecte especificat si no existeix almenys una de les claus en un diccionari imbricat o si el valor a la clau especificada és `null` o un valor de text buit.",
1728
+ "examples": "\n##### Exemples\n\nDefaultValue retorna un valor definit\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 un valor per defecte si no n'hi ha cap a la clau 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 un valor per defecte si no existeix la clau.\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\nComprova el valor nul en una matriu dins d'un diccionari amb clau que existeix\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",
1729
1729
  "completion": {
1730
1730
  "label": "DefaultValue",
1731
1731
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -1735,7 +1735,7 @@
1735
1735
  "kind": 3,
1736
1736
  "documentation": {
1737
1737
  "kind": "markdown",
1738
- "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àmetres**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
1738
+ "value": "Retorna un valor per defecte especificat si no existeix almenys una de les claus en un diccionari imbricat o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Paràmetres**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Diccionari o fitxer adjunt que es comprovarà.\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)> - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura del contenidor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si almenys una de les claus o un dels índexs no existeix o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a la clau o a l'índex especificat, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
1739
1739
  }
1740
1740
  },
1741
1741
  "parametersInfo": {
@@ -1926,8 +1926,8 @@
1926
1926
  "bundle": "core",
1927
1927
  "sinceVersion": "1.20",
1928
1928
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
1929
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
1930
- "examples": "\n##### Exemples\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",
1929
+ "description": "Indica si un diccionari una clau determinada i si aquesta clau un valor.",
1930
+ "examples": "\n##### Exemples\n\nDiccionari amb una clau que un valor\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nDiccionari amb una clau que no cap valor\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDiccionari amb la clau proporcionada\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDiccionari amb la clau proporcionada\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
1931
1931
  "completion": {
1932
1932
  "label": "HasValue",
1933
1933
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -1937,7 +1937,7 @@
1937
1937
  "kind": 3,
1938
1938
  "documentation": {
1939
1939
  "kind": "markdown",
1940
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or field name to check.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1940
+ "value": "**[A partir de la versió 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica si un diccionari una clau determinada i si aquesta clau un valor.\n\n**Paràmetres**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Diccionari o fitxer adjunt que es comprovarà.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Nom del camp o la clau que es comprovarà.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1941
1941
  }
1942
1942
  },
1943
1943
  "parametersInfo": {
@@ -1951,8 +1951,8 @@
1951
1951
  "bundle": "core",
1952
1952
  "sinceVersion": "1.26",
1953
1953
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
1954
- "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.",
1955
- "examples": "\n##### Exemples\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",
1954
+ "description": "Comprova si una propietat imbricada amb diversos nivells de profunditat en un diccionari té un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors en cada nivell. Retorna `true` si les claus i els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.",
1955
+ "examples": "\n##### Exemples\n\nComprova el diccionari amb clau que un valor imbricat\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\nComprova el valor en un diccionari amb clau que no existeix\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\nComprova el valor en una matriu dins d'un diccionari amb clau que existeix\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",
1956
1956
  "completion": {
1957
1957
  "label": "HasValue",
1958
1958
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -1962,7 +1962,7 @@
1962
1962
  "kind": 3,
1963
1963
  "documentation": {
1964
1964
  "kind": "markdown",
1965
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1965
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nComprova si una propietat imbricada amb diversos nivells de profunditat en un diccionari té un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors en cada nivell. Retorna `true` si les claus i els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.\n\n**Paràmetres**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Diccionari o fitxer adjunt que es comprovarà.\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; - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1966
1966
  }
1967
1967
  },
1968
1968
  "parametersInfo": {
@@ -2483,8 +2483,8 @@
2483
2483
  "bundle": "data-access",
2484
2484
  "sinceVersion": "1.25",
2485
2485
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2486
- "description": "ó_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________à.",
2487
- "examples": "\n##### Exemple\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",
2486
+ "description": "Crea un FeatureSet amb totes les entitats que coincideixen amb el codi de subtipus especificat.",
2487
+ "examples": "\n##### Exemple\n\nFiltra les entitats amb el codi de subtipus\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2488
2488
  "completion": {
2489
2489
  "label": "FilterBySubtypeCode",
2490
2490
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -2494,7 +2494,7 @@
2494
2494
  "kind": 3,
2495
2495
  "documentation": {
2496
2496
  "kind": "markdown",
2497
- "value": "**[A partir de la versió 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àmetres**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ó_The FeatureSet, or layer, to filter___________________à.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ó_The subtype code used to filter features in the FeatureSet or layer___________________________________à.\n\n**Valor de retorn**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2497
+ "value": "**[A partir de la versió 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCrea un FeatureSet amb totes les entitats que coincideixen amb el codi de subtipus especificat.\n\n**Paràmetres**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet o capa que es filtrarà.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - El codi de subtipus s'utilitza per filtrar les entitats del FeatureSet o la capa.\n\n**Valor de retorn**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2498
2498
  }
2499
2499
  },
2500
2500
  "parametersInfo": {
@@ -3517,8 +3517,8 @@
3517
3517
  "bundle": "core",
3518
3518
  "sinceVersion": "1.26",
3519
3519
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
3520
- "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.",
3521
- "examples": "\n##### Exemples\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",
3520
+ "description": "Retorna un valor per defecte especificat si no existeix una clau en una geometria o si el valor a la clau especificada és `null` o un valor de text buit.",
3521
+ "examples": "\n##### Exemples\n\nPunt que un 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\nPunt que no cap valor z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
3522
3522
  "completion": {
3523
3523
  "label": "DefaultValue",
3524
3524
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3528,7 +3528,7 @@
3528
3528
  "kind": 3,
3529
3529
  "documentation": {
3530
3530
  "kind": "markdown",
3531
- "value": "**[A partir de la versió 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àmetres**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
3531
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna un valor per defecte especificat si no existeix una clau en una geometria o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Paràmetres**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Geometria d'entrada que es comprovarà.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Clau que es comprovarà.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si la clau no existeix o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a la clau especificada, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
3532
3532
  }
3533
3533
  },
3534
3534
  "parametersInfo": {
@@ -3541,8 +3541,8 @@
3541
3541
  "name": "defaultvalue",
3542
3542
  "bundle": "core",
3543
3543
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
3544
- "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.",
3545
- "examples": "\n##### Exemples\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",
3544
+ "description": "Retorna un valor per defecte especificat si no existeix almenys una de les claus a les propietats imbricades d'una geometria o si el valor a la clau especificada és `null` o un valor de text buit.",
3545
+ "examples": "\n##### Exemples\n\nTant l'anell com la coordenada i el valor x existeixen i tenen un 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\nL'anell no existeix\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\nL'anell i la coordenada existeixen, però el valor m no existeix\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",
3546
3546
  "completion": {
3547
3547
  "label": "DefaultValue",
3548
3548
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3552,7 +3552,7 @@
3552
3552
  "kind": 3,
3553
3553
  "documentation": {
3554
3554
  "kind": "markdown",
3555
- "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àmetres**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
3555
+ "value": "Retorna un valor per defecte especificat si no existeix almenys una de les claus a les propietats imbricades d'una geometria o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Paràmetres**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Geometria d'entrada que es comprovarà.\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; - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura del contenidor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si almenys una de les claus o un dels índexs no existeix o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a la clau o a l'índex especificat, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
3556
3556
  }
3557
3557
  },
3558
3558
  "parametersInfo": {
@@ -3717,8 +3717,8 @@
3717
3717
  "bundle": "geometry",
3718
3718
  "sinceVersion": "1.26",
3719
3719
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
3720
- "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._",
3721
- "examples": "\n##### Exemple\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",
3720
+ "description": "Retorna una coordenada al llarg d'una línia d'entrada en funció d'una distància especificada. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la distància especificada. La distància no inclou separacions entre rutes (o parts) de la línia. Si no es troba la distància al llarg de la línia d'entrada, el resultat serà `null`.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._",
3721
+ "examples": "\n##### Exemple\n\nRetorna la coordenada de la polilínia d'entrada en funció del valor de distància especificat\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
3722
3722
  "completion": {
3723
3723
  "label": "DistanceToCoordinate",
3724
3724
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -3728,7 +3728,7 @@
3728
3728
  "kind": 3,
3729
3729
  "documentation": {
3730
3730
  "kind": "markdown",
3731
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Valor de retorn**: [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`."
3731
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna una coordenada al llarg d'una línia d'entrada en funció d'una distància especificada. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la distància especificada. La distància no inclou separacions entre rutes (o parts) de la línia. Si no es troba la distància al llarg de la línia d'entrada, el resultat serà `null`.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Línia o ruta des de la qual se cercarà una coordenada. En utilitzar una entitat com a entrada, la geometria de l'entitat ha de ser una polilínia.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància utilitzada per cercar la coordenada al llarg d'`inputLine` des de l'inici de la línia. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la distància especificada. La distància no inclou separacions entre rutes (o parts) de la línia. \n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents. Si no es troba la distància al llarg de la línia d'entrada, el resultat serà `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Coordenades d'un punt al llarg d'`inputLine` en funció d'un valor de distància especificat.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana des de l'inici d'`inputLine` mesurada al llarg de la línia fins a `coordinate`. En polilínies on les rutes no es connecten, el valor `distanceAlong` no inclou la distància dels espais entre els vèrtexs d'inici i de finalització de les rutes.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - En cas d'una entrada de polilínia, índex de la ruta a la qual pertany `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Índex (relatiu a la ruta) del segment de línia al qual pertany `coordinate`. Si `coordinate` representa un vèrtex de la línia d'entrada, `segmentId` retornarà l'índex del vèrtex anterior. Si `coordinate` és el primer vèrtex d'`inputLine`, el valor de `segmentId` serà `0`."
3732
3732
  }
3733
3733
  },
3734
3734
  "parametersInfo": {
@@ -3916,8 +3916,8 @@
3916
3916
  "bundle": "core",
3917
3917
  "sinceVersion": "1.26",
3918
3918
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
3919
- "description": "Indicates whether a geometry has a value at a given key or index.",
3920
- "examples": "\n##### Exemples\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",
3919
+ "description": "Indica si una geometria un valor en una clau o un índex determinats.",
3920
+ "examples": "\n##### Exemples\n\nPunt que un valor z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPolígon amb una clau que no existeix\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
3921
3921
  "completion": {
3922
3922
  "label": "HasValue",
3923
3923
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -3927,7 +3927,7 @@
3927
3927
  "kind": 3,
3928
3928
  "documentation": {
3929
3929
  "kind": "markdown",
3930
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or property name to check.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3930
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica si una geometria un valor en una clau o un índex determinats.\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Geometria que es comprovarà.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Nom del camp o la propietat que es comprovarà.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3931
3931
  }
3932
3932
  },
3933
3933
  "parametersInfo": {
@@ -3941,8 +3941,8 @@
3941
3941
  "bundle": "core",
3942
3942
  "sinceVersion": "1.26",
3943
3943
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
3944
- "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.",
3945
- "examples": "\n##### Exemples\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",
3944
+ "description": "Comprova si una propietat o un índex imbricats amb diversos nivells de profunditat en una geometria tenen un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors en cada nivell. Retorna `true` si les claus i els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.",
3945
+ "examples": "\n##### Exemples\n\nTant l'anell com la coordenada i el valor x existeixen i tenen un 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\nL'anell no existeix\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\nL'anell i la coordenada existeixen, però el valor m no existeix\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",
3946
3946
  "completion": {
3947
3947
  "label": "HasValue",
3948
3948
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -3952,7 +3952,7 @@
3952
3952
  "kind": 3,
3953
3953
  "documentation": {
3954
3954
  "kind": "markdown",
3955
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3955
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nComprova si una propietat o un índex imbricats amb diversos nivells de profunditat en una geometria tenen un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors en cada nivell. Retorna `true` si les claus i els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Diccionari o entitat que es comprovarà.\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; - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3956
3956
  }
3957
3957
  },
3958
3958
  "parametersInfo": {
@@ -4142,8 +4142,8 @@
4142
4142
  "bundle": "geometry",
4143
4143
  "sinceVersion": "1.26",
4144
4144
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
4145
- "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._",
4146
- "examples": "\n##### Exemple\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",
4145
+ "description": "Retorna la primera coordenada al llarg d'una línia d'entrada en funció d'una mesura especificada o un valor m. Si no es troba la mesura al llarg de la línia d'entrada, el resultat serà `null`. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la mesura especificada. La mesura no inclou separacions entre rutes (o parts) de la línia.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._",
4146
+ "examples": "\n##### Exemple\n\nRetorna la coordenada de la polilínia d'entrada en funció del valor de mesura especificat\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
4147
4147
  "completion": {
4148
4148
  "label": "MeasureToCoordinate",
4149
4149
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -4153,7 +4153,7 @@
4153
4153
  "kind": 3,
4154
4154
  "documentation": {
4155
4155
  "kind": "markdown",
4156
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Valor de retorn**: [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`."
4156
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna la primera coordenada al llarg d'una línia d'entrada en funció d'una mesura especificada o un valor m. Si no es troba la mesura al llarg de la línia d'entrada, el resultat serà `null`. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la mesura especificada. La mesura no inclou separacions entre rutes (o parts) de la línia.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Línia o ruta des de la qual se cercarà una coordenada. La línia d'entrada ha de tenir `hasM` igual a `true`. Si `hasM` és `false`, es retornarà `null`. En utilitzar una entitat com a entrada, la geometria de l'entitat ha de ser una polilínia.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - La mesura, o el valor m, des del qual se cercarà la coordenada al llarg d'`inputLine` des de l'inici de la línia. Totes les parts de la línia es tenen en compte en intentar trobar una coordenada a la mesura especificada. La mesura no inclou separacions entre rutes (o parts) de la línia.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents. Si no es troba la mesura al llarg de la línia d'entrada, el resultat serà `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Primera coordenada d'un punt al llarg d'`inputLine` en funció d'un valor de mesura especificat.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana des de l'inici d'`inputLine` mesurada al llarg de la línia fins a `coordinate`. En polilínies on les rutes no es connecten, el valor `distanceAlong` no inclou la distància dels espais entre els vèrtexs d'inici i de finalització de les rutes.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - En cas d'una entrada de polilínia, índex de la ruta a la qual pertany `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Índex (relatiu a la ruta) del segment de línia al qual pertany `coordinate`. Si `coordinate` representa un vèrtex de la línia d'entrada, `segmentId` retornarà l'índex del vèrtex anterior. Si `coordinate` és el primer vèrtex d'`inputLine`, el valor de `segmentId` serà `0`."
4157
4157
  }
4158
4158
  },
4159
4159
  "parametersInfo": {
@@ -4277,7 +4277,7 @@
4277
4277
  "kind": 3,
4278
4278
  "documentation": {
4279
4279
  "kind": "markdown",
4280
- "value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna la coordenada més propera (no vèrtex) de la geometria d'entrada al punt de cerca. El diccionari retornat també inclou la distància plana més curta del punt de cerca a la coordenada més propera. Si el punt de cerca interseca la geometria d'entrada, es retorna el punt de cerca com a resultat amb una distància de zero.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometria des de la qual s'obtindrà la coordenada més propera.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punt des del qual es cercarà la coordenada més propera d'`inputGeometry`.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Coordenada més propera d'`inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana de la coordenada més propera a `searchPoint`. Representa la distància més curta entre `inputGeometry` i `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4280
+ "value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna la coordenada més propera (no vèrtex) de la geometria d'entrada al punt de cerca. El diccionari retornat també inclou la distància plana més curta del punt de cerca a la coordenada més propera. Si el punt de cerca interseca la geometria d'entrada, es retorna el punt de cerca com a resultat amb una distància de zero.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometria des de la qual s'obtindrà la coordenada més propera.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punt des del qual es cercarà la coordenada més propera d'`inputGeometry`.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Coordenada més propera d'`inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana de la coordenada més propera a `searchPoint`. Representa la distància més curta entre `inputGeometry` i `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Relació espacial entre `searchPoint` i el segment d'`inputGeometry` que condueix a la coordenada més propera. Valors possibles: \n\n`left`: `searchPoint` es troba a l'esquerra d'`inputGeometry`.\n\n`right`: `searchPoint` es troba a la dreta d'`inputGeometry`.\n\n`straddle`: `searchPoint` cobreix `inputGeometry` o s'hi troba a sobre."
4281
4281
  }
4282
4282
  },
4283
4283
  "parametersInfo": {
@@ -4302,7 +4302,7 @@
4302
4302
  "kind": 3,
4303
4303
  "documentation": {
4304
4304
  "kind": "markdown",
4305
- "value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna el vèrtex més proper de la geometria d'entrada al punt de cerca. El diccionari retornat inclou la distància plana del punt de cerca al vèrtex més proper.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometria des de la qual s'obtindrà el vèrtex més proper.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punt des del qual es cercarà el vèrtex més proper d'`inputGeometry`.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Ubicació de punt que representa el vèrtex més proper d'`inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana del vèrtex més proper de la geometria d'entrada a `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4305
+ "value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna el vèrtex més proper de la geometria d'entrada al punt de cerca. El diccionari retornat inclou la distància plana del punt de cerca al vèrtex més proper.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometria des de la qual s'obtindrà el vèrtex més proper.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punt des del qual es cercarà el vèrtex més proper d'`inputGeometry`.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Ubicació de punt que representa el vèrtex més proper d'`inputGeometry` a `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana del vèrtex més proper de la geometria d'entrada a `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Relació espacial entre `searchPoint` i el segment d'`inputGeometry` que condueix al vèrtex més proper. Valors possibles: \n\n`left`: `searchPoint` es troba a l'esquerra d'`inputGeometry`.\n\n`right`: `searchPoint` es troba a la dreta d'`inputGeometry`.\n\n`straddle`: `searchPoint` cobreix `inputGeometry` o s'hi troba a sobre."
4306
4306
  }
4307
4307
  },
4308
4308
  "parametersInfo": {
@@ -4416,8 +4416,8 @@
4416
4416
  "bundle": "geometry",
4417
4417
  "sinceVersion": "1.26",
4418
4418
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
4419
- "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._",
4420
- "examples": "\n##### Exemple\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",
4419
+ "description": "Retorna la coordenada més propera i la distància a aquesta coordenada des del punt de cerca fins a la línia d'entrada.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._",
4420
+ "examples": "\n##### Exemple\n\nRetorna la distància a la coordenada més propera al llarg de la polilínia d'entrada en funció de la ubicació on s'ha fet clic per obrir una finestra emergent\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
4421
4421
  "completion": {
4422
4422
  "label": "PointToCoordinate",
4423
4423
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -4427,7 +4427,7 @@
4427
4427
  "kind": 3,
4428
4428
  "documentation": {
4429
4429
  "kind": "markdown",
4430
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Valor de retorn**: [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`."
4430
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna la coordenada més propera i la distància a aquesta coordenada des del punt de cerca fins a la línia d'entrada.\n\n_Les geometries d'entitat dels perfils de visualització i etiquetatge es generalitzen en funció de la resolució de l'escala de la visualització per millorar el rendiment del dibuix. Per tant, en utilitzar la geometria d'una entitat (és a dir, `$feature`) com a entrada per a qualsevol funció de geometria en aquests contextos es retornaran resultats diferents a cada nivell de l'escala. Altres perfils, com ara el de finestra emergent, proporcionen la geometria de resolució completa._\n\n**Paràmetres**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Línia o ruta des de la qual s'obtindrà la coordenada més propera. En utilitzar una entitat com a entrada, la geometria de l'entitat ha de ser una polilínia.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punt des del qual se cercarà la coordenada més propera d'`inputLine`.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari amb les propietats següents.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Coordenada de punt que representa la coordenada més propera al llarg d'`inputLine` fins a `searchPoint`. Si `hasZ` és `false` a `searchPoint`, la cerca s'efectua en coordenades x/y i el valor z s'interpola.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana des de `searchPoint` fins a `coordinate`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Distància plana des de l'inici d'`inputLine` mesurada al llarg de la línia fins a `coordinate`. En polilínies on les rutes no es connecten, el valor `distanceAlong` no inclou la distància dels espais entre els vèrtexs d'inici i de finalització de les rutes.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - En cas d'una entrada de polilínia, índex de la ruta a la qual pertany `coordinate`.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Índex (relatiu a la ruta) del segment de línia al qual pertany `coordinate`. Si `coordinate` representa un vèrtex de la línia d'entrada, `segmentId` retornarà l'índex del vèrtex anterior. Si `coordinate` és el primer vèrtex d'`inputLine`, el valor de `segmentId` serà `0`."
4431
4431
  }
4432
4432
  },
4433
4433
  "parametersInfo": {
@@ -5030,8 +5030,8 @@
5030
5030
  "bundle": "core",
5031
5031
  "sinceVersion": "1.26",
5032
5032
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
5033
- "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.",
5034
- "examples": "\n##### Exemples\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",
5033
+ "description": "Retorna un valor per defecte especificat si no existeix un índex en una matriu o si el valor a l'índex especificat és `null` o un valor de text buit.",
5034
+ "examples": "\n##### Exemples\n\nMatriu amb valor a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nMatriu sense cap valor a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nMatriu amb un valor nul a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
5035
5035
  "completion": {
5036
5036
  "label": "DefaultValue",
5037
5037
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -5041,7 +5041,7 @@
5041
5041
  "kind": 3,
5042
5042
  "documentation": {
5043
5043
  "kind": "markdown",
5044
- "value": "**[A partir de la versió 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àmetres**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
5044
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna un valor per defecte especificat si no existeix un índex en una matriu o si el valor a l'índex especificat és `null` o un valor de text buit.\n\n**Paràmetres**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - Matriu d'entrada que es comprovarà.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Índex que es comprovarà.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si l'índex no existeix o si el valor a l'índex especificat és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a l'índex especificat, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
5045
5045
  }
5046
5046
  },
5047
5047
  "parametersInfo": {
@@ -5054,8 +5054,8 @@
5054
5054
  "name": "defaultvalue",
5055
5055
  "bundle": "core",
5056
5056
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
5057
- "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.",
5058
- "examples": "\n##### Exemples\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",
5057
+ "description": "Comprova si un índex imbricat amb diversos nivells de profunditat en una matriu multidimensional un valor i retorna aquest valor, si escau. Si no, aquesta funció retorna un valor per defecte especificat si almenys una de les claus o un dels índexs imbricats no existeix o el valor a la clau o l'índex especificats és `null` o un valor de text buit. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors de cada matriu.",
5058
+ "examples": "\n##### Exemples\n\nMatriu amb un valor a l'índex imbricat\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\nMatriu sense cap valor a l'índex imbricat\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\nMatriu sense cap valor a l'índex principal\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nMatriu de diccionaris amb valors imbricats\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",
5059
5059
  "completion": {
5060
5060
  "label": "DefaultValue",
5061
5061
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5065,7 +5065,7 @@
5065
5065
  "kind": 3,
5066
5066
  "documentation": {
5067
5067
  "kind": "markdown",
5068
- "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àmetres**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Valor de retorn**: [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`."
5068
+ "value": "Comprova si un índex imbricat amb diversos nivells de profunditat en una matriu multidimensional un valor i retorna aquest valor, si escau. Si no, aquesta funció retorna un valor per defecte especificat si almenys una de les claus o un dels índexs imbricats no existeix o el valor a la clau o l'índex especificats és `null` o un valor de text buit. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors de cada matriu.\n\n**Paràmetres**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - Matriu d'entrada que es comprovarà.\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; - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura del contenidor.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Aquest valor es retorna si almenys una de les claus o un dels índexs no existeix o si el valor a la clau especificada és `null` o un valor de text buit.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nRetorna el valor a la clau o a l'índex especificat, si s'ha definit. Si no, retorna el valor especificat a `defaultValue`."
5069
5069
  }
5070
5070
  },
5071
5071
  "parametersInfo": {
@@ -5232,8 +5232,8 @@
5232
5232
  "bundle": "core",
5233
5233
  "sinceVersion": "1.26",
5234
5234
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
5235
- "description": "Indicates whether an array has a value at the given index.",
5236
- "examples": "\n##### Exemples\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",
5235
+ "description": "Indica si una matriu un valor a l'índex especificat.",
5236
+ "examples": "\n##### Exemples\n\nMatriu amb valor a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nMatriu sense cap valor a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nMatriu amb un valor nul a l'índex especificat\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
5237
5237
  "completion": {
5238
5238
  "label": "HasValue",
5239
5239
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -5243,7 +5243,7 @@
5243
5243
  "kind": 3,
5244
5244
  "documentation": {
5245
5245
  "kind": "markdown",
5246
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5246
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndica si una matriu un valor a l'índex especificat.\n\n**Paràmetres**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - Matriu que es comprovarà.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Índex que es comprovarà.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5247
5247
  }
5248
5248
  },
5249
5249
  "parametersInfo": {
@@ -5257,8 +5257,8 @@
5257
5257
  "bundle": "core",
5258
5258
  "sinceVersion": "1.26",
5259
5259
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
5260
- "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.",
5261
- "examples": "\n##### Exemples\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",
5260
+ "description": "Comprova si un índex imbricat amb diversos nivells de profunditat en una matriu multidimensional un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors de cada matriu. Retorna `true` si els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.",
5261
+ "examples": "\n##### Exemples\n\nMatriu amb un valor a l'índex imbricat\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nMatriu sense cap valor a l'índex imbricat\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nMatriu sense cap valor a l'índex principal\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nMatriu de diccionaris amb valors imbricats\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",
5262
5262
  "completion": {
5263
5263
  "label": "HasValue",
5264
5264
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -5268,7 +5268,7 @@
5268
5268
  "kind": 3,
5269
5269
  "documentation": {
5270
5270
  "kind": "markdown",
5271
- "value": "**[A partir de la versió 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àmetres**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5271
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nComprova si un índex imbricat amb diversos nivells de profunditat en una matriu multidimensional un valor. Això us permet obtenir els detalls d'una estructura imbricada en un pas en lloc de comprovar els valors de cada matriu. Retorna `true` si els índexs de cada nivell de l'estructura existeixen i inclouen un valor no nul.\n\n**Paràmetres**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Any](https://developers.arcgis.com/arcade/guide/types/#any)&gt; - Matriu que es comprovarà.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - Una matriu de les claus o dels índexs que es comprovaran en cada nivell de l'estructura.\n\n**Valor de retorn**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5272
5272
  }
5273
5273
  },
5274
5274
  "parametersInfo": {
@@ -6550,6 +6550,62 @@
6550
6550
  }
6551
6551
  ]
6552
6552
  },
6553
+ {
6554
+ "id": "knowledge-graph_functions",
6555
+ "title": "Funcions del gràfic de coneixement",
6556
+ "items": [
6557
+ {
6558
+ "type": "function",
6559
+ "name": "knowledgegraphbyportalitem",
6560
+ "bundle": "knowledge-graph",
6561
+ "sinceVersion": "1.26",
6562
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
6563
+ "description": "Retorna un gràfic de coneixement d'un element del portal.",
6564
+ "examples": "\n##### Exemple\n\nRetorna el gràfic de coneixement de l'element del portal.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
6565
+ "completion": {
6566
+ "label": "KnowledgeGraphByPortalItem",
6567
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
6568
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
6569
+ "insertTextMode": 2,
6570
+ "insertTextFormat": 2,
6571
+ "kind": 3,
6572
+ "documentation": {
6573
+ "kind": "markdown",
6574
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nRetorna un gràfic de coneixement d'un element del portal.\n\n**Paràmetres**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Portal des del qual es consultaran entitats.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - GUID de l'element del portal que fa referència a un servei de gràfic de coneixement. _Aquest valor ha de ser un literal de text._\n\n**Valor de retorn**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
6575
+ }
6576
+ },
6577
+ "parametersInfo": {
6578
+ "min": 2,
6579
+ "max": 2
6580
+ }
6581
+ },
6582
+ {
6583
+ "type": "function",
6584
+ "name": "querygraph",
6585
+ "bundle": "knowledge-graph",
6586
+ "sinceVersion": "1.26",
6587
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
6588
+ "description": "Consulta un gràfic de coneixement amb una consulta openCypher i retorna el conjunt d'entitats i relacions en un gràfic, juntament amb les seves propietats.",
6589
+ "examples": "\n##### Exemples\n\nConsulta el gràfic de coneixement per obtenir informació sobre les entitats `Student` que conté.\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 el gràfic de coneixement fent servir paràmetres de vinculació.\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",
6590
+ "completion": {
6591
+ "label": "QueryGraph",
6592
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
6593
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
6594
+ "insertTextMode": 2,
6595
+ "insertTextFormat": 2,
6596
+ "kind": 3,
6597
+ "documentation": {
6598
+ "kind": "markdown",
6599
+ "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nConsulta un gràfic de coneixement amb una consulta openCypher i retorna el conjunt d'entitats i relacions en un gràfic, juntament amb les seves propietats.\n\n**Paràmetres**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - Gràfic de coneixement que es consultarà.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Consulta openCypher que s'executarà amb el gràfic de coneixement.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Diccionari de paràmetres de consulta nominals de la consulta openCypher. Els noms o les claus de paràmetres del diccionari distingeixen entre majúscules i minúscules. Els paràmetres acceptats depenen del magatzem de gràfics extern i poden ser de tipus `Array`, `Date`, `Dictionary`, `Geometry`, `Number` i `Text`\n\n**Valor de retorn**: Array"
6600
+ }
6601
+ },
6602
+ "parametersInfo": {
6603
+ "min": 2,
6604
+ "max": 3
6605
+ }
6606
+ }
6607
+ ]
6608
+ },
6553
6609
  {
6554
6610
  "id": "portal_functions",
6555
6611
  "title": "Funcions del portal",
@@ -7697,61 +7753,5 @@
7697
7753
  }
7698
7754
  ]
7699
7755
  ]
7700
- },
7701
- {
7702
- "id": "knowledgegraph_functions",
7703
- "title": "ó_Knowledge graph functions__________________________à",
7704
- "items": [
7705
- {
7706
- "type": "function",
7707
- "name": "knowledgegraphbyportalitem",
7708
- "bundle": "knowledge-graph",
7709
- "sinceVersion": "1.26",
7710
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
7711
- "description": "ó_Returns a knowledge graph from a portal item________________________à.",
7712
- "examples": "\n##### Exemple\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",
7713
- "completion": {
7714
- "label": "KnowledgeGraphByPortalItem",
7715
- "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
7716
- "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
7717
- "insertTextMode": 2,
7718
- "insertTextFormat": 2,
7719
- "kind": 3,
7720
- "documentation": {
7721
- "kind": "markdown",
7722
- "value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nó_Returns a knowledge graph from a portal item________________________à.\n\n**Paràmetres**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - ó_The Portal from which to query features_____________________à.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ó_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________à\n\n**Valor de retorn**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
7723
- }
7724
- },
7725
- "parametersInfo": {
7726
- "min": 2,
7727
- "max": 2
7728
- }
7729
- },
7730
- {
7731
- "type": "function",
7732
- "name": "querygraph",
7733
- "bundle": "knowledge-graph",
7734
- "sinceVersion": "1.26",
7735
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
7736
- "description": "ó_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________à.",
7737
- "examples": "\n##### Exemple\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",
7738
- "completion": {
7739
- "label": "QueryGraph",
7740
- "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
7741
- "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
7742
- "insertTextMode": 2,
7743
- "insertTextFormat": 2,
7744
- "kind": 3,
7745
- "documentation": {
7746
- "kind": "markdown",
7747
- "value": "**[A partir de la versió 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àmetres**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - ó_The knowledge graph to query______________________________à.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ó_The openCypher query to be executed against the knowledge graph_________________________________à.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ó_A dictionary of named query parameters for the openCypher query_________________________________à. ó_The parameter names or keys in the dictionary are case-sensitive__________________________________à. ó_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________à\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
7748
- }
7749
- },
7750
- "parametersInfo": {
7751
- "min": 2,
7752
- "max": 3
7753
- }
7754
- }
7755
- ]
7756
7756
  }
7757
7757
  ]