@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
@@ -381,7 +381,7 @@
381
381
  "bundle": "core",
382
382
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
383
383
  "description": "Atimamos dvi datos, o skirtumas pateikiamas nurodytais vienetais.",
384
- "examples": "\n##### Pavyzdžiai\n\nAtimamos dvi datos ir pateikiamas amžius\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",
384
+ "examples": "\n##### Pavyzdžiai\n\nAtimamos dvi datos ir pateikiamas amžius\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nAtimamos dvi datos ir pateikiamas skirtumas.\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",
385
385
  "completion": {
386
386
  "label": "DateDiff",
387
387
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -1345,7 +1345,7 @@
1345
1345
  "sinceVersion": "1.7",
1346
1346
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
1347
1347
  "description": "Pateikia susijusio domeno aprašo elemente kodas.",
1348
- "examples": "\n##### Pavyzdys\n\nspausdinamas nurodyto lauko domeno aprašas.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
1348
+ "examples": "\n##### Pavyzdys\n\nišspausdina nurodyto lauko domeno kodą.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
1349
1349
  "completion": {
1350
1350
  "label": "DomainCode",
1351
1351
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -1568,8 +1568,8 @@
1568
1568
  "bundle": "core",
1569
1569
  "sinceVersion": "1.20",
1570
1570
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
1571
- "description": "Indicates whether a feature has a given field and if that field has a value.",
1572
- "examples": "\n##### Pavyzdys\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",
1571
+ "description": "Nurodo, ar elementas turi nurodytą lauką ir ar tas laukas turi reikšmę.",
1572
+ "examples": "\n##### Pavyzdys\n\nGrąžina false“, jei elemento atributo nėra arba jis tuščias\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",
1573
1573
  "completion": {
1574
1574
  "label": "HasValue",
1575
1575
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -1579,7 +1579,7 @@
1579
1579
  "kind": 3,
1580
1580
  "documentation": {
1581
1581
  "kind": "markdown",
1582
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1582
+ "value": "**[Nuo versijos 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNurodo, ar elementas turi nurodytą lauką ir ar tas laukas turi reikšmę.\n\n**Parametrai**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Elementas, kurį reikia patikrinti.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Lauko pavadinimas, kurį reikia patikrinti.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1583
1583
  }
1584
1584
  },
1585
1585
  "parametersInfo": {
@@ -2230,8 +2230,8 @@
2230
2230
  "bundle": "data-access",
2231
2231
  "sinceVersion": "1.25",
2232
2232
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2233
- "description": "Į_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________š.",
2234
- "examples": "\n##### Pavyzdys\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",
2233
+ "description": "Sukuriamas naujas FeatureSet su visomis funkcijomis, atitinkančiomis nurodytą potipio kodą.",
2234
+ "examples": "\n##### Pavyzdys\n\nFiltruoti funkcijas su potipio kodu\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2235
2235
  "completion": {
2236
2236
  "label": "FilterBySubtypeCode",
2237
2237
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -2241,7 +2241,7 @@
2241
2241
  "kind": 3,
2242
2242
  "documentation": {
2243
2243
  "kind": "markdown",
2244
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2244
+ "value": "**[Nuo versijos 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nSukuriamas naujas FeatureSet su visomis funkcijomis, atitinkančiomis nurodytą potipio kodą.\n\n**Parametrai**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet arba sluoksnis filtravimui.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Potipo kodas, naudojamas filtruojant funkcijas FeatureSet arba sluoksnio.\n\n**Pateikiama reikšmė**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2245
2245
  }
2246
2246
  },
2247
2247
  "parametersInfo": {
@@ -3264,8 +3264,8 @@
3264
3264
  "bundle": "core",
3265
3265
  "sinceVersion": "1.26",
3266
3266
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
3267
- "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.",
3268
- "examples": "\n##### Pavyzdžiai\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",
3267
+ "description": "Grąžina nurodytą numatytąją reikšmę, jei rakto geometrijoje nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.",
3268
+ "examples": "\n##### Pavyzdžiai\n\nTaškas, kuris turi z reikšmę\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nTaškas, kuris neturi z reikšmės\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
3269
3269
  "completion": {
3270
3270
  "label": "DefaultValue",
3271
3271
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3275,7 +3275,7 @@
3275
3275
  "kind": 3,
3276
3276
  "documentation": {
3277
3277
  "kind": "markdown",
3278
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [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`."
3278
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina nurodytą numatytąją reikšmę, jei rakto geometrijoje nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.\n\n**Parametrai**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Įvesties geometrija, kurią reikia patikrinti.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Raktas, kurį reikia patikrinti.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei rakto nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto rakto reikšmę, jei ji nurodyta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
3279
3279
  }
3280
3280
  },
3281
3281
  "parametersInfo": {
@@ -3288,8 +3288,8 @@
3288
3288
  "name": "defaultvalue",
3289
3289
  "bundle": "core",
3290
3290
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
3291
- "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.",
3292
- "examples": "\n##### Pavyzdžiai\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",
3291
+ "description": "Grąžina nurodytą numatytąją reikšmę, jei bent vieno raktų geometrijos įdėtosiose ypatybėse nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.",
3292
+ "examples": "\n##### Pavyzdžiai\n\nŽiedas, koordinatė ir x reikšmės yra ir turi reikšmę\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nŽiedo nėra\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nŽiedas ir koordinatė yra, bet m reikšmės nėra\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",
3293
3293
  "completion": {
3294
3294
  "label": "DefaultValue",
3295
3295
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3299,7 +3299,7 @@
3299
3299
  "kind": 3,
3300
3300
  "documentation": {
3301
3301
  "kind": "markdown",
3302
- "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**Parametrai**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Pateikiama reikšmė**: [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`."
3302
+ "value": "Grąžina nurodytą numatytąją reikšmę, jei bent vieno raktų geometrijos įdėtosiose ypatybėse nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.\n\n**Parametrai**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Įvesties geometrija, kurią reikia patikrinti.\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)> - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename konteinerio struktūros lygyje.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei bent vieno raktų ar indeksų nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto rakto arba indekso reikšmę, jei ji apibrėžta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
3303
3303
  }
3304
3304
  },
3305
3305
  "parametersInfo": {
@@ -3464,8 +3464,8 @@
3464
3464
  "bundle": "geometry",
3465
3465
  "sinceVersion": "1.26",
3466
3466
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
3467
- "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._",
3468
- "examples": "\n##### Pavyzdys\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",
3467
+ "description": "Grąžina koordinatę išilgai įvesties linijos nurodytu atstumu. Bandant rasti koordinatę nurodytu atstumu, ieškoma visose linijos dalyse. Į atstumą neįtraukiami tarpai tarp linijos kelių (ar dalių). Jei atstumas nerandamas išilgai įvesties linijos, rezultatas bus „null“.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._",
3468
+ "examples": "\n##### Pavyzdys\n\nGrąžina įvesties polilinijos koordinatę pagal nurodytą atstumo reikšmę\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
3469
3469
  "completion": {
3470
3470
  "label": "DistanceToCoordinate",
3471
3471
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -3475,7 +3475,7 @@
3475
3475
  "kind": 3,
3476
3476
  "documentation": {
3477
3477
  "kind": "markdown",
3478
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Pateikiama reikšmė**: [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`."
3478
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina koordinatę išilgai įvesties linijos nurodytu atstumu. Bandant rasti koordinatę nurodytu atstumu, ieškoma visose linijos dalyse. Į atstumą neįtraukiami tarpai tarp linijos kelių (ar dalių). Jei atstumas nerandamas išilgai įvesties linijos, rezultatas bus „null“.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Linija arba kelias, kurio reikia rasti koordinatę. Naudojant elementą kaip įvestį, elemento geometrija turi būti polilinija.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Atstumas, naudojamas norint rasti koordinatę išilgai „inputLine“ nuo linijos pradžios. Bandant rasti koordinatę nurodytu atstumu, ieškoma visose linijos dalyse. Į atstumą neįtraukiami tarpai tarp linijos kelių (ar dalių). \n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis. Jei atstumas nerandamas išilgai įvesties linijos, rezultatas bus null“.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taško koordinatės išilgai inputLine pagal nurodytą atstumo reikšmę.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo „inputLine“ pradžios, išmatuotas išilgai linijos iki „coordinate“. Polilinijose, kuriose keliai nesusijungia, į „distanceAlong“ reikšmę neįtraukiamas atstumas tarp kelių pradžios ir pabaigos viršūnių.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jei įvestis yra polilinija, kelio, kuriam priklauso coordinate“, indeksas.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Linijos indeksas (santykinis su keliu), kuriam priklauso coordinate“. Jei coordinate reiškia įvesties eilutės viršūnę, segmentId grąžins ankstesnės viršūnės indeksą. Jei coordinate yra pirmoji inputLine viršūnė, segmentId vertė bus 0."
3479
3479
  }
3480
3480
  },
3481
3481
  "parametersInfo": {
@@ -3663,8 +3663,8 @@
3663
3663
  "bundle": "core",
3664
3664
  "sinceVersion": "1.26",
3665
3665
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
3666
- "description": "Indicates whether a geometry has a value at a given key or index.",
3667
- "examples": "\n##### Pavyzdžiai\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",
3666
+ "description": "Nurodo, ar geometrija turi reikšmę tam tikram raktui arba indeksui.",
3667
+ "examples": "\n##### Pavyzdžiai\n\nTaškas, kuris turi z reikšmę\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPoligonas su raktu, kurio nėra\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
3668
3668
  "completion": {
3669
3669
  "label": "HasValue",
3670
3670
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -3674,7 +3674,7 @@
3674
3674
  "kind": 3,
3675
3675
  "documentation": {
3676
3676
  "kind": "markdown",
3677
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3677
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNurodo, ar geometrija turi reikšmę tam tikram raktui arba indeksui.\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Geometrija, kurią reikia patikrinti.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Raktas arba ypatybės pavadinimas, kurį reikia patikrinti.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3678
3678
  }
3679
3679
  },
3680
3680
  "parametersInfo": {
@@ -3688,8 +3688,8 @@
3688
3688
  "bundle": "core",
3689
3689
  "sinceVersion": "1.26",
3690
3690
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
3691
- "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.",
3692
- "examples": "\n##### Pavyzdžiai\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",
3691
+ "description": "Patikrina, ar ypatybė arba indeksas, įdėtas kelių lygių gylyje geomerijoje, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename lygyje. Grąžina true“, jei raktai ir indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.",
3692
+ "examples": "\n##### Pavyzdžiai\n\nŽiedas, koordinatė ir x reikšmės yra ir turi reikšmę\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nŽiedo nėra\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nŽiedas ir koordinatė yra, bet m reikšmės nėra\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",
3693
3693
  "completion": {
3694
3694
  "label": "HasValue",
3695
3695
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -3699,7 +3699,7 @@
3699
3699
  "kind": 3,
3700
3700
  "documentation": {
3701
3701
  "kind": "markdown",
3702
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3702
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPatikrina, ar ypatybė arba indeksas, įdėtas kelių lygių gylyje geomerijoje, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename lygyje. Grąžina true“, jei raktai ir indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Žodynas ar elementas, kurį reikia patikrinti.\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)> - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename struktūros lygyje.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3703
3703
  }
3704
3704
  },
3705
3705
  "parametersInfo": {
@@ -3889,8 +3889,8 @@
3889
3889
  "bundle": "geometry",
3890
3890
  "sinceVersion": "1.26",
3891
3891
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
3892
- "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._",
3893
- "examples": "\n##### Pavyzdys\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",
3892
+ "description": "Grąžina pirmąją koordinatę išilgai įvesties linijos pagal nurodytą matą arba m reikšmę. Jei matas nerandamas išilgai įvesties linijos, rezultatas bus „null“. Bandant rasti koordinatę pagal nurodytą matą, ieškoma visose linijos dalyse. Į matą neįtraukiami tarpai tarp linijos kelių (ar dalių).\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._",
3893
+ "examples": "\n##### Pavyzdys\n\nGrąžina įvesties polilinijos koordinatę pagal nurodytą matmens reikšmę\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
3894
3894
  "completion": {
3895
3895
  "label": "MeasureToCoordinate",
3896
3896
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -3900,7 +3900,7 @@
3900
3900
  "kind": 3,
3901
3901
  "documentation": {
3902
3902
  "kind": "markdown",
3903
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Pateikiama reikšmė**: [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`."
3903
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina pirmąją koordinatę išilgai įvesties linijos pagal nurodytą matą arba m reikšmę. Jei matas nerandamas išilgai įvesties linijos, rezultatas bus „null“. Bandant rasti koordinatę pagal nurodytą matą, ieškoma visose linijos dalyse. Į matą neįtraukiami tarpai tarp linijos kelių (ar dalių).\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Linija arba kelias, kurio reikia rasti koordinatę. Įvesties eilutėje „hasM“ turi būti lygus „true“. Jei „hasM“ yra „false“, bus grąžinta reikšmė „null“. Naudojant elementą kaip įvestį, elemento geometrija turi būti polilinija.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Matmuo arba m reikšmė, pagal kurią galima rasti koordinatę išilgai inputLine nuo linijos pradžios. Bandant rasti koordinatę pagal nurodytą matą, ieškoma visose linijos dalyse. Į matą neįtraukiami tarpai tarp linijos kelių (ar dalių).\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis ypatybėmis. Jei matas nerandamas išilgai įvesties linijos, rezultatas bus null“.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taško pirmoji koordinatė išilgai inputLine pagal nurodytą matmens reikšmę.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo „inputLine“ pradžios, išmatuotas išilgai linijos iki „coordinate“. Polilinijose, kuriose keliai nesusijungia, į „distanceAlong“ reikšmę neįtraukiamas atstumas tarp kelių pradžios ir pabaigos viršūnių.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jei įvestis yra polilinija, kelio, kuriam priklauso coordinate“, indeksas.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Linijos indeksas (santykinis su keliu), kuriam priklauso coordinate“. Jei coordinate reiškia įvesties eilutės viršūnę, segmentId grąžins ankstesnės viršūnės indeksą. Jei coordinate yra pirmoji inputLine viršūnė, segmentId vertė bus 0."
3904
3904
  }
3905
3905
  },
3906
3906
  "parametersInfo": {
@@ -4024,7 +4024,7 @@
4024
4024
  "kind": 3,
4025
4025
  "documentation": {
4026
4026
  "kind": "markdown",
4027
- "value": "**[Nuo versijos 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPateikiama prie paieškos taško artimiausia įvesties geometrijos koordinatė (ne viršūnė). Pateikiamas žodynas taip pat apima mažiausią plokštuminį atstumą nuo paieškos taško iki artimiausios koordinatės. Jei paieškos taškas sutampa su įvesties geometrija, pateikiamas peiškos taškas su nuliniu atstumu.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija, iš kurios bus gaunama artimiausia koordinatė.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Taškas, pagal kurį bus randama artimiausia „įvestiesGeometrijos“ koordinatė.\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Artimiausia koordinatė nuo „įvestiesGeometrijos“ iki „paieškosTaško“.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo artimiausios koordinatės iki „paieškosTaško“. Tai nurodo mažiausią atstumą tarp „įvestiesGeometrijos“ ir „paieškosTaško“.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4027
+ "value": "**[Nuo versijos 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPateikiama prie paieškos taško artimiausia įvesties geometrijos koordinatė (ne viršūnė). Pateikiamas žodynas taip pat apima mažiausią plokštuminį atstumą nuo paieškos taško iki artimiausios koordinatės. Jei paieškos taškas sutampa su įvesties geometrija, pateikiamas peiškos taškas su nuliniu atstumu.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija, iš kurios bus gaunama artimiausia koordinatė.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Taškas, pagal kurį bus randama artimiausia „įvestiesGeometrijos“ koordinatė.\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Artimiausia koordinatė nuo „įvestiesGeometrijos“ iki „paieškosTaško“.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo artimiausios koordinatės iki „paieškosTaško“. Tai nurodo mažiausią atstumą tarp „įvestiesGeometrijos“ ir „paieškosTaško“.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Erdvinis ryšys tarp „searchPoint“ ir „inputGeometry“ segmento, vedančio iki artimiausios koordinatės. Galimos reikšmės: \n\n„left“ – „searchPoint“ yra „inputGeometry“ kairėje pusėje.\n\n„right“ – „searchPoint“ yra „inputGeometry“ dešinėje pusėje.\n\n„straddle“ – „searchPoint“ yra „inputGeometry“ viršuje."
4028
4028
  }
4029
4029
  },
4030
4030
  "parametersInfo": {
@@ -4049,7 +4049,7 @@
4049
4049
  "kind": 3,
4050
4050
  "documentation": {
4051
4051
  "kind": "markdown",
4052
- "value": "**[Nuo versijos 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPateikiama prie paieškos taško artimiausia įvesties geometrijos viršūnė. Pateikiamas žodynas apima plokštuminį atstumą nuo paieškos taško iki artimiausios viršūnės.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija, iš kurios bus gaunama artimiausia viršūnė.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Taškas, pagal kurį bus randama artimiausia „įvestiesGeometrijos“ viršūnė.\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taško vieta, nurodanti artimiausią viršūnę nuo „įvestiesGeometrijos“ iki „paieškosTaško“.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo įvesties geometrijos artimiausios viršūnės iki „paieškosTaško“.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4052
+ "value": "**[Nuo versijos 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPateikiama prie paieškos taško artimiausia įvesties geometrijos viršūnė. Pateikiamas žodynas apima plokštuminį atstumą nuo paieškos taško iki artimiausios viršūnės.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija, iš kurios bus gaunama artimiausia viršūnė.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Taškas, pagal kurį bus randama artimiausia „įvestiesGeometrijos“ viršūnė.\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taško vieta, nurodanti artimiausią viršūnę nuo „įvestiesGeometrijos“ iki „paieškosTaško“.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo įvesties geometrijos artimiausios viršūnės iki „paieškosTaško“.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Erdvinis ryšys tarp „searchPoint“ ir „inputGeometry“ segmento, vedančio iki artimiausios viršūnės. Galimos reikšmės: \n\n„left“ – „searchPoint“ yra „inputGeometry“ kairėje pusėje.\n\n„right“ – „searchPoint“ yra „inputGeometry“ dešinėje pusėje.\n\n„straddle“ – „searchPoint“ yra „inputGeometry“ viršuje."
4053
4053
  }
4054
4054
  },
4055
4055
  "parametersInfo": {
@@ -4163,8 +4163,8 @@
4163
4163
  "bundle": "geometry",
4164
4164
  "sinceVersion": "1.26",
4165
4165
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
4166
- "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._",
4167
- "examples": "\n##### Pavyzdys\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",
4166
+ "description": "Į įvesties liniją grąžina artimiausią koordinatę ir atstumą iki tos paieškos taško koordinatės.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._",
4167
+ "examples": "\n##### Pavyzdys\n\nGrąžina atstumą iki artimiausios koordinatės išilgai įvesties linijos pagal spustelėtą vietą, kad būtų atidarytas iššokantysis langas\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
4168
4168
  "completion": {
4169
4169
  "label": "PointToCoordinate",
4170
4170
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -4174,7 +4174,7 @@
4174
4174
  "kind": 3,
4175
4175
  "documentation": {
4176
4176
  "kind": "markdown",
4177
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Pateikiama reikšmė**: [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`."
4177
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\ įvesties liniją grąžina artimiausią koordinatę ir atstumą iki tos paieškos taško koordinatės.\n\n_Feature geometrijos vizualizavimo ir žymių profiliuose apibendrinamos pagal peržiūros sluoksnio mastelio raišką, siekiant pagerinti braižymo rezultatus. Todėl naudojant objekto geometriją (t. y. `$feature`) kaip įvestį bet kuriai geometrijos funkcijai šiuose kontekstuose gaunami rezultatai priklausys nuo mastelio lygio. Kituose profiliuose, pavyzdžiui, iškylančiajame lange, pateikiama visos skiriamosios gebos geometrija._\n\n**Parametrai**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Linija arba kelias, kurio bus gaunama artimiausia koordinatė. Naudojant elementą kaip įvestį, elemento geometrija turi būti polilinija.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taškas, pagal kurį bus randama artimiausia „inputLine“ koordinatė.\n\n**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nPateikiamas žodynas su toliau pateiktomis savybėmis.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Taško koordinatė, nurodanti artimiausią koordinatę išilgai inputLine iki searchPoint“. Jei paieškos taške hasZ yra „false“, tada paieška atliekama x/y koordinatėmis, o z reikšmė interpoliuojama.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo searchPoint iki coordinate“.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Plokštuminis atstumas nuo „inputLine“ pradžios, išmatuotas išilgai linijos iki „coordinate“. Polilinijose, kuriose keliai nesusijungia, į „distanceAlong“ reikšmę neįtraukiamas atstumas tarp kelių pradžios ir pabaigos viršūnių.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jei įvestis yra polilinija, kelio, kuriam priklauso coordinate“, indeksas.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Linijos indeksas (santykinis su keliu), kuriam priklauso coordinate“. Jei coordinate reiškia įvesties eilutės viršūnę, segmentId grąžins ankstesnės viršūnės indeksą. Jei coordinate yra pirmoji inputLine viršūnė, segmentId vertė bus 0."
4178
4178
  }
4179
4179
  },
4180
4180
  "parametersInfo": {
@@ -4584,62 +4584,6 @@
4584
4584
  }
4585
4585
  ]
4586
4586
  },
4587
- {
4588
- "id": "knowledgegraph_functions",
4589
- "title": "Į_Knowledge graph functions__________________________š",
4590
- "items": [
4591
- {
4592
- "type": "function",
4593
- "name": "knowledgegraphbyportalitem",
4594
- "bundle": "knowledge-graph",
4595
- "sinceVersion": "1.26",
4596
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
4597
- "description": "Į_Returns a knowledge graph from a portal item________________________š.",
4598
- "examples": "\n##### Pavyzdys\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",
4599
- "completion": {
4600
- "label": "KnowledgeGraphByPortalItem",
4601
- "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
4602
- "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
4603
- "insertTextMode": 2,
4604
- "insertTextFormat": 2,
4605
- "kind": 3,
4606
- "documentation": {
4607
- "kind": "markdown",
4608
- "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nĮ_Returns a knowledge graph from a portal item________________________š.\n\n**Parametrai**\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**Pateikiama reikšmė**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
4609
- }
4610
- },
4611
- "parametersInfo": {
4612
- "min": 2,
4613
- "max": 2
4614
- }
4615
- },
4616
- {
4617
- "type": "function",
4618
- "name": "querygraph",
4619
- "bundle": "knowledge-graph",
4620
- "sinceVersion": "1.26",
4621
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
4622
- "description": "Į_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________š.",
4623
- "examples": "\n##### Pavyzdys\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",
4624
- "completion": {
4625
- "label": "QueryGraph",
4626
- "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
4627
- "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
4628
- "insertTextMode": 2,
4629
- "insertTextFormat": 2,
4630
- "kind": 3,
4631
- "documentation": {
4632
- "kind": "markdown",
4633
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
4634
- }
4635
- },
4636
- "parametersInfo": {
4637
- "min": 2,
4638
- "max": 3
4639
- }
4640
- }
4641
- ]
4642
- },
4643
4587
  {
4644
4588
  "id": "logical_functions",
4645
4589
  "title": "Loginės funkcijos",
@@ -5026,8 +4970,8 @@
5026
4970
  "bundle": "core",
5027
4971
  "sinceVersion": "1.26",
5028
4972
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
5029
- "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.",
5030
- "examples": "\n##### Pavyzdžiai\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",
4973
+ "description": "Grąžina nurodytą numatytąją reikšmę, jei masyve indekso nėra arba nurodyto indekso reikšmė yra null arba tuščia teksto reikšmė.",
4974
+ "examples": "\n##### Pavyzdžiai\n\nMasyvas su reikšme nurodytame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nMasyvas be reikšmės nurodytame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nMasyvas su null reikšme duotame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
5031
4975
  "completion": {
5032
4976
  "label": "DefaultValue",
5033
4977
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -5037,7 +4981,7 @@
5037
4981
  "kind": 3,
5038
4982
  "documentation": {
5039
4983
  "kind": "markdown",
5040
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**Pateikiama reikšmė**: [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`."
4984
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina nurodytą numatytąją reikšmę, jei masyve indekso nėra arba nurodyto indekso reikšmė yra null arba tuščia teksto reikšmė.\n\n**Parametrai**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Įvesties masyvas, kurį reikia patikrinti.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Indeksas, kurį reikia patikrinti.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei indekso nėra arba nurodyto indekso reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto indekso reikšmę, jei ji nurodyta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
5041
4985
  }
5042
4986
  },
5043
4987
  "parametersInfo": {
@@ -5050,8 +4994,8 @@
5050
4994
  "name": "defaultvalue",
5051
4995
  "bundle": "core",
5052
4996
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
5053
- "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.",
5054
- "examples": "\n##### Pavyzdžiai\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",
4997
+ "description": "Patikrina, ar indeksas, įdėtas kelių lygių gylyje daugiamačiame masyve, turi reikšmę ir grąžina reikšmę, jei ji yra. Kitu atveju ši funkcija grąžina nurodytą numatytąją reikšmę, jei bent vieno įdėtųjų raktų ar indeksų nėra arba nurodyto rakto ar indekso reikšmė yra null arba tuščia teksto reikšmė. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename masyve.",
4998
+ "examples": "\n##### Pavyzdžiai\n\nMasyvas su reikšme įdėtajame indekse\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\nMasyvas be reikšmės įdėtajame indekse\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\nMasyvas be reikšmės pirminiame indekse\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nŽodynų masyvas su įdėtosiomis reikšmėmis\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",
5055
4999
  "completion": {
5056
5000
  "label": "DefaultValue",
5057
5001
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5061,7 +5005,7 @@
5061
5005
  "kind": 3,
5062
5006
  "documentation": {
5063
5007
  "kind": "markdown",
5064
- "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**Parametrai**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Pateikiama reikšmė**: [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`."
5008
+ "value": "Patikrina, ar indeksas, įdėtas kelių lygių gylyje daugiamačiame masyve, turi reikšmę ir grąžina reikšmę, jei ji yra. Kitu atveju ši funkcija grąžina nurodytą numatytąją reikšmę, jei bent vieno įdėtųjų raktų ar indeksų nėra arba nurodyto rakto ar indekso reikšmė yra null arba tuščia teksto reikšmė. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename masyve.\n\n**Parametrai**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Įvesties masyvas, kurį reikia patikrinti.\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)> - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename konteinerio struktūros lygyje.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei bent vieno raktų ar indeksų nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto rakto arba indekso reikšmę, jei ji apibrėžta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
5065
5009
  }
5066
5010
  },
5067
5011
  "parametersInfo": {
@@ -5228,8 +5172,8 @@
5228
5172
  "bundle": "core",
5229
5173
  "sinceVersion": "1.26",
5230
5174
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
5231
- "description": "Indicates whether an array has a value at the given index.",
5232
- "examples": "\n##### Pavyzdžiai\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",
5175
+ "description": "Nurodo, ar masyvas turi reikšmę nurodytame indekse.",
5176
+ "examples": "\n##### Pavyzdžiai\n\nMasyvas su reikšme nurodytame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nMasyvas be reikšmės nurodytame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nMasyvas su null reikšme duotame indekse\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
5233
5177
  "completion": {
5234
5178
  "label": "HasValue",
5235
5179
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -5239,7 +5183,7 @@
5239
5183
  "kind": 3,
5240
5184
  "documentation": {
5241
5185
  "kind": "markdown",
5242
- "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parametrai**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5186
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNurodo, ar masyvas turi reikšmę nurodytame indekse.\n\n**Parametrai**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Masyvas, kurį reikia patikrinti.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Indeksas, kurį reikia patikrinti.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5243
5187
  }
5244
5188
  },
5245
5189
  "parametersInfo": {
@@ -5253,8 +5197,8 @@
5253
5197
  "bundle": "core",
5254
5198
  "sinceVersion": "1.26",
5255
5199
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
5256
- "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.",
5257
- "examples": "\n##### Pavyzdžiai\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",
5200
+ "description": "Patikrina, ar indeksas, įdėtas kelių lygių gylyje daugiamačiame masyve, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename masyve. Grąžina true“, jei indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.",
5201
+ "examples": "\n##### Pavyzdžiai\n\nMasyvas su reikšme įdėtajame indekse\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nMasyvas be reikšmės įdėtajame indekse\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nMasyvas be reikšmės pirminiame indekse\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nŽodynų masyvas su įdėtosiomis reikšmėmis\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",
5258
5202
  "completion": {
5259
5203
  "label": "HasValue",
5260
5204
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -5264,7 +5208,7 @@
5264
5208
  "kind": 3,
5265
5209
  "documentation": {
5266
5210
  "kind": "markdown",
5267
- "value": "**[Nuo versijos 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**Parametrai**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5211
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPatikrina, ar indeksas, įdėtas kelių lygių gylyje daugiamačiame masyve, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename masyve. Grąžina true“, jei indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.\n\n**Parametrai**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Masyvas, kurį reikia patikrinti.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename struktūros lygyje.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5268
5212
  }
5269
5213
  },
5270
5214
  "parametersInfo": {
@@ -7470,6 +7414,62 @@
7470
7414
  }
7471
7415
  ]
7472
7416
  },
7417
+ {
7418
+ "id": "knowledge-graph_functions",
7419
+ "title": "Žinių diagramos funkcijos",
7420
+ "items": [
7421
+ {
7422
+ "type": "function",
7423
+ "name": "knowledgegraphbyportalitem",
7424
+ "bundle": "knowledge-graph",
7425
+ "sinceVersion": "1.26",
7426
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
7427
+ "description": "Grąžina žinių diagramą iš portalo elemento.",
7428
+ "examples": "\n##### Pavyzdys\n\nGrąžina žinių diagramą iš portalo elemento.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
7429
+ "completion": {
7430
+ "label": "KnowledgeGraphByPortalItem",
7431
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
7432
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
7433
+ "insertTextMode": 2,
7434
+ "insertTextFormat": 2,
7435
+ "kind": 3,
7436
+ "documentation": {
7437
+ "kind": "markdown",
7438
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina žinių diagramą iš portalo elemento.\n\n**Parametrai**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Portalas iš kurio pateikti užklausą apie elementus.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Portalo elemento GUID, nurodantis žinių diagramos paslaugą. _Ši reikšmė turi būti teksto literalas._\n\n**Pateikiama reikšmė**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
7439
+ }
7440
+ },
7441
+ "parametersInfo": {
7442
+ "min": 2,
7443
+ "max": 2
7444
+ }
7445
+ },
7446
+ {
7447
+ "type": "function",
7448
+ "name": "querygraph",
7449
+ "bundle": "knowledge-graph",
7450
+ "sinceVersion": "1.26",
7451
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
7452
+ "description": "Pateikia užklausą dėl žinių diagramos su „openCypher“ užklausa ir grąžina diagramos objektų ir ryšių rinkinį kartu su jų ypatybėmis.",
7453
+ "examples": "\n##### Pavyzdžiai\n\nŽinių diagramoje ieškoma informacijos apie joje esančius „Student“ objektus.\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\nPateikia užklausą dėl žinių diagramos naudojant susiejimo parametrus.\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",
7454
+ "completion": {
7455
+ "label": "QueryGraph",
7456
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
7457
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
7458
+ "insertTextMode": 2,
7459
+ "insertTextFormat": 2,
7460
+ "kind": 3,
7461
+ "documentation": {
7462
+ "kind": "markdown",
7463
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPateikia užklausą dėl žinių diagramos su „openCypher“ užklausa ir grąžina diagramos objektų ir ryšių rinkinį kartu su jų ypatybėmis.\n\n**Parametrai**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - Žinių diagrama, dėl kurios reikia pateikti užklausą.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - „openCypher“ užklausa, kuri turi būti vykdoma pagal žinių diagramą.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Įvardytų užklausos parametrų žodynas, skirtas „openCypher“ užklausai. Žodyno parametrų pavadinimuose arba raktuose skiriamos didžiosios ir mažosios raidės. Priimami parametrai priklauso nuo išorinės diagramų saugyklos ir gali būti tokio tipo: „Arrat“, „Date“, „Dictionary“, „Geometry“, „Number“, „Text“\n\n**Pateikiama reikšmė**: Array"
7464
+ }
7465
+ },
7466
+ "parametersInfo": {
7467
+ "min": 2,
7468
+ "max": 3
7469
+ }
7470
+ }
7471
+ ]
7472
+ },
7473
7473
  {
7474
7474
  "id": "dictionary_functions",
7475
7475
  "title": "Žodynų funkcijos",
@@ -7481,8 +7481,8 @@
7481
7481
  "bundle": "core",
7482
7482
  "sinceVersion": "1.26",
7483
7483
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
7484
- "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.",
7485
- "examples": "\n##### Pavyzdžiai\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",
7484
+ "description": "Grąžina nurodytą numatytąją reikšmę, jei rakto žodyne nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.",
7485
+ "examples": "\n##### Pavyzdžiai\n\n„DefaultValue“ grąžina apibrėžtą reikšmę\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\n„DefaultValue“ grąžina numatytąją reikšmę, jei nurodytame rakte nėra reikšmės.\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\n„DefaultValue“ grąžina numatytąją vertę, jei rakto nėra.\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",
7486
7486
  "completion": {
7487
7487
  "label": "DefaultValue",
7488
7488
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -7492,7 +7492,7 @@
7492
7492
  "kind": 3,
7493
7493
  "documentation": {
7494
7494
  "kind": "markdown",
7495
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [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`."
7495
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGrąžina nurodytą numatytąją reikšmę, jei rakto žodyne nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Parametrai**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Žodynas ar priedas, kurį reikia patikrinti.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Raktas, kurį reikia patikrinti.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei rakto nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto rakto reikšmę, jei ji nurodyta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
7496
7496
  }
7497
7497
  },
7498
7498
  "parametersInfo": {
@@ -7505,8 +7505,8 @@
7505
7505
  "name": "defaultvalue",
7506
7506
  "bundle": "core",
7507
7507
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
7508
- "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.",
7509
- "examples": "\n##### Pavyzdžiai\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",
7508
+ "description": "Grąžina nurodytą numatytąją reikšmę, jei bent vieno raktų įdėtajame žodyne nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.",
7509
+ "examples": "\n##### Pavyzdžiai\n\n„DefaultValue“ grąžina apibrėžtą reikšmę\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\n„DefaultValue“ grąžina numatytąją reikšmę, jei nurodytame rakte nėra reikšmės.\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\n„DefaultValue“ grąžina numatytąją vertę, jei rakto nėra.\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\nPatikrinkite null reikšmę masyve, kuris yra žodyne su egzistuojančiu raktu\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",
7510
7510
  "completion": {
7511
7511
  "label": "DefaultValue",
7512
7512
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -7516,7 +7516,7 @@
7516
7516
  "kind": 3,
7517
7517
  "documentation": {
7518
7518
  "kind": "markdown",
7519
- "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**Parametrai**\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**Pateikiama reikšmė**: [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`."
7519
+ "value": "Grąžina nurodytą numatytąją reikšmę, jei bent vieno raktų įdėtajame žodyne nėra arba nurodyto rakto reikšmė yra null ar tuščia teksto reikšmė.\n\n**Parametrai**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Žodynas ar priedas, kurį reikia patikrinti.\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)> - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename konteinerio struktūros lygyje.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Ši reikšmė grąžinama, jei bent vieno raktų ar indeksų nėra arba nurodyto rakto reikšmė yra null arba tuščia teksto reikšmė.\n\n**Pateikiama reikšmė**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nGrąžina nurodyto rakto arba indekso reikšmę, jei ji apibrėžta. Kitu atveju grąžina reikšmę, nurodytą defaultValue“."
7520
7520
  }
7521
7521
  },
7522
7522
  "parametersInfo": {
@@ -7707,8 +7707,8 @@
7707
7707
  "bundle": "core",
7708
7708
  "sinceVersion": "1.20",
7709
7709
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
7710
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
7711
- "examples": "\n##### Pavyzdžiai\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",
7710
+ "description": "Nurodo, ar žodynas turi tam tikrą raktą, ir ar tas raktas turi reikšmę.",
7711
+ "examples": "\n##### Pavyzdžiai\n\nŽodynas, kurio raktas turi reikšmę\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nŽodynas, kurio raktas neturi reikšmės\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nŽodynas be pateikto rakto\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nŽodynas be pateikto rakto\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
7712
7712
  "completion": {
7713
7713
  "label": "HasValue",
7714
7714
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -7718,7 +7718,7 @@
7718
7718
  "kind": 3,
7719
7719
  "documentation": {
7720
7720
  "kind": "markdown",
7721
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7721
+ "value": "**[Nuo versijos 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNurodo, ar žodynas turi tam tikrą raktą, ir ar tas raktas turi reikšmę.\n\n**Parametrai**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Žodynas ar priedas, kurį reikia patikrinti.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Raktas arba lauko pavadinimas, kurį reikia patikrinti.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7722
7722
  }
7723
7723
  },
7724
7724
  "parametersInfo": {
@@ -7732,8 +7732,8 @@
7732
7732
  "bundle": "core",
7733
7733
  "sinceVersion": "1.26",
7734
7734
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
7735
- "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.",
7736
- "examples": "\n##### Pavyzdžiai\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",
7735
+ "description": "Patikrina, ar ypatybė, įdėta kelių lygių gylyje žodyne, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename lygyje. Grąžina true“, jei raktai ir indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.",
7736
+ "examples": "\n##### Pavyzdžiai\n\nPatikrinkite žodyną su raktu, kuriame yra įdėtoji reikšmė\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\nPatikrinkite reikšmę žodyne su raktu, kurio nėra\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\nPatikrinkite reikšmę masyve, kuris yra žodyne su egzistuojančiu raktu\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",
7737
7737
  "completion": {
7738
7738
  "label": "HasValue",
7739
7739
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -7743,7 +7743,7 @@
7743
7743
  "kind": 3,
7744
7744
  "documentation": {
7745
7745
  "kind": "markdown",
7746
- "value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7746
+ "value": "**[Nuo versijos 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPatikrina, ar ypatybė, įdėta kelių lygių gylyje žodyne, turi reikšmę. Tai leidžia vienu veiksmu patikrinti įdėtąją struktūrą užuot tikrinus reikšmes kiekviename lygyje. Grąžina true“, jei raktai ir indeksai kiekviename struktūros lygyje egzistuoja ir turi ne null reikšmę.\n\n**Parametrai**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Žodynas ar priedas, kurį reikia patikrinti.\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; - Raktų arba indeksų masyvas, skirtas tikrinti kiekviename struktūros lygyje.\n\n**Pateikiama reikšmė**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7747
7747
  }
7748
7748
  },
7749
7749
  "parametersInfo": {