@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
@@ -593,8 +593,8 @@
593
593
  "bundle": "core",
594
594
  "sinceVersion": "1.26",
595
595
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
596
- "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.",
597
- "examples": "\n##### Näited\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",
596
+ "description": "Tagastab määratud vaikeväärtuse, kui geomeetrias pole võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.",
597
+ "examples": "\n##### Näited\n\nPunkt, millel on z-väärus\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nPunkt, millel pole z-väärtust\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
598
598
  "completion": {
599
599
  "label": "DefaultValue",
600
600
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -604,7 +604,7 @@
604
604
  "kind": 3,
605
605
  "documentation": {
606
606
  "kind": "markdown",
607
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
607
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab määratud vaikeväärtuse, kui geomeetrias pole võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Parameetrid**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Kontrollitav sisendgeomeetria.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kontrollitav võti.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui võtit pole või määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud võtme väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
608
608
  }
609
609
  },
610
610
  "parametersInfo": {
@@ -617,8 +617,8 @@
617
617
  "name": "defaultvalue",
618
618
  "bundle": "core",
619
619
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
620
- "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.",
621
- "examples": "\n##### Näited\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",
620
+ "description": "Tagastab määratud vaikeväärtuse, kui geomeetria pesastatud atribuutides pole vähemalt üht võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.",
621
+ "examples": "\n##### Näited\n\nRing, koordinaat ja x-väärtus on olemas ja kõigil on väärtus\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\nRingi pole\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 ja koordinaat on olemas, kuid m-väärtust pole\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",
622
622
  "completion": {
623
623
  "label": "DefaultValue",
624
624
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -628,7 +628,7 @@
628
628
  "kind": 3,
629
629
  "documentation": {
630
630
  "kind": "markdown",
631
- "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**Parameetrid**\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**Tagastusväärtus**: [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`."
631
+ "value": "Tagastab määratud vaikeväärtuse, kui geomeetria pesastatud atribuutides pole vähemalt üht võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Parameetrid**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Kontrollitav sisendgeomeetria.\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)> - Konteineri struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui vähemalt ühte võtit või indeksit pole või kui määratud indeksi väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud võtme või indeksi väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
632
632
  }
633
633
  },
634
634
  "parametersInfo": {
@@ -793,8 +793,8 @@
793
793
  "bundle": "geometry",
794
794
  "sinceVersion": "1.26",
795
795
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
796
- "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._",
797
- "examples": "\n##### Näide\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",
796
+ "description": "Tagastab koordinaadi sisendjoonel määratud kauguse põhjal. Kõiki joone osi võetakse arvesse, kui määratud kaugusel proovitakse leida koordinaati. Kaugus ei sisalda joone teede (või osade) vahel olevaid vahesid. Kui sisendjoonel ei leita kaugust, on tulemuseks null.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.",
797
+ "examples": "\n##### Näide\n\nTagastab sisendmurdjoone koordinaadi määratud vahemaa väärtuse põhjal\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
798
798
  "completion": {
799
799
  "label": "DistanceToCoordinate",
800
800
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -804,7 +804,7 @@
804
804
  "kind": 3,
805
805
  "documentation": {
806
806
  "kind": "markdown",
807
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
807
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab koordinaadi sisendjoonel määratud kauguse põhjal. Kõiki joone osi võetakse arvesse, kui määratud kaugusel proovitakse leida koordinaati. Kaugus ei sisalda joone teede (või osade) vahel olevaid vahesid. Kui sisendjoonel ei leita kaugust, on tulemuseks null.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\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) - Joon või tee, millest koordinaat leida. Kui sisendina kasutatakse objekti, peab objekti geomeetria olema murdjoon.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Vahemaa, mida kasutatakse koordinaadi leidmiseks sisendjoonel `inputLine` alates joone algusest. Kõiki joone osi võetakse arvesse, kui määratud kaugusel proovitakse leida koordinaati. Kaugus ei sisalda joone teede (või osade) vahel olevaid vahesid. \n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku. Kui sisendjoonel ei leita kaugust, on tulemuseks null.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punkti koordinaadid sisendjoonel `inputLine` määratud vahemaa väärtuse põhjal.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus kohast `inputLine`, mõõdetuna mööda joont kuni kohani `coordinate`. Murdjoontel, kus teed ei ole ühendatud, ei sisalda väärtus `distanceAlong` vahemaad teede algus- ja lõpptippude vaheliste vahede vahel.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Murdjoonsisendi puhul selle tee indeks, kuhu `coordinate` kuulub.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Selle joonsegmendi indeks (suhteline teega), kuhu `coordinate` kuulub. Kui `coordinate` tähistab sisendjoone käänupunkti, siis tagastab `segmentId` eelmise käänupunkti indeksi. Kui `coordinate` on üksuse `inputLine` esimene käänpunkt, siis on üksuse `segmentId` väärtuseks `0`."
808
808
  }
809
809
  },
810
810
  "parametersInfo": {
@@ -992,8 +992,8 @@
992
992
  "bundle": "core",
993
993
  "sinceVersion": "1.26",
994
994
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
995
- "description": "Indicates whether a geometry has a value at a given key or index.",
996
- "examples": "\n##### Näited\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",
995
+ "description": "Näitab, kas geomeetrial on määratud võtmes või indeksis väärtus.",
996
+ "examples": "\n##### Näited\n\nPunkt, millel on z-väärus\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPolügoon, mille võtit pole\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
997
997
  "completion": {
998
998
  "label": "HasValue",
999
999
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -1003,7 +1003,7 @@
1003
1003
  "kind": 3,
1004
1004
  "documentation": {
1005
1005
  "kind": "markdown",
1006
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1006
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNäitab, kas geomeetrial on määratud võtmes või indeksis väärtus.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Kontrollitav geomeetria.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kontrollitav võtme- või atribuudinimi.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1007
1007
  }
1008
1008
  },
1009
1009
  "parametersInfo": {
@@ -1017,8 +1017,8 @@
1017
1017
  "bundle": "core",
1018
1018
  "sinceVersion": "1.26",
1019
1019
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
1020
- "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.",
1021
- "examples": "\n##### Näited\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",
1020
+ "description": "Kontrollib, kas geomeetrias mitu taset sügavamale pesastatud atribuudil või indeksil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igal tasemel. Tagastab väärtuse `true`, kui struktuuri igal tasemel on võtmed ja indeksid ja need sisaldavad mittenullväärtust.",
1021
+ "examples": "\n##### Näited\n\nRing, koordinaat ja x-väärtus on olemas ja kõigil on väärtus\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\nRingi pole\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 ja koordinaat on olemas, kuid m-väärtust pole\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",
1022
1022
  "completion": {
1023
1023
  "label": "HasValue",
1024
1024
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -1028,7 +1028,7 @@
1028
1028
  "kind": 3,
1029
1029
  "documentation": {
1030
1030
  "kind": "markdown",
1031
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1031
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nKontrollib, kas geomeetrias mitu taset sügavamale pesastatud atribuudil või indeksil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igal tasemel. Tagastab väärtuse `true`, kui struktuuri igal tasemel on võtmed ja indeksid ja need sisaldavad mittenullväärtust.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Kontrollitav sõnastik või objekt.\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)> - Struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
1032
1032
  }
1033
1033
  },
1034
1034
  "parametersInfo": {
@@ -1218,8 +1218,8 @@
1218
1218
  "bundle": "geometry",
1219
1219
  "sinceVersion": "1.26",
1220
1220
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
1221
- "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._",
1222
- "examples": "\n##### Näide\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",
1221
+ "description": "Tagastab esimese koordinaadi sisendjoonel määratud mõõdu põhjal või m-väärtuse. Kui sisendjoonel ei leita mõõtu, on tulemuseks null. Kõiki joone osi võetakse arvesse, kui määratud mõõdu juures proovitakse leida koordinaati. Mõõt ei sisalda joone teede (või osade) vahel olevaid vahesid.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.",
1222
+ "examples": "\n##### Näide\n\nTagastab sisendmurdjoone koordinaadi määratud mõõdu väärtuse põhjal\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
1223
1223
  "completion": {
1224
1224
  "label": "MeasureToCoordinate",
1225
1225
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -1229,7 +1229,7 @@
1229
1229
  "kind": 3,
1230
1230
  "documentation": {
1231
1231
  "kind": "markdown",
1232
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
1232
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab esimese koordinaadi sisendjoonel määratud mõõdu põhjal või m-väärtuse. Kui sisendjoonel ei leita mõõtu, on tulemuseks null. Kõiki joone osi võetakse arvesse, kui määratud mõõdu juures proovitakse leida koordinaati. Mõõt ei sisalda joone teede (või osade) vahel olevaid vahesid.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\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) - Joon või tee, millest koordinaat leida. Sisendjoonel peab olema `hasM`, mis võrdub `true`. Kui `hasM` on `false`, siis tagastatakse `null`. Kui sisendina kasutatakse objekti, peab objekti geomeetria olema murdjoon.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Mõõt ehk m-väärtus, millest leida koordinaat sisendjoonel `inputLine` alates joone algusest. Kõiki joone osi võetakse arvesse, kui määratud mõõdu juures proovitakse leida koordinaati. Mõõt ei sisalda joone teede (või osade) vahel olevaid vahesid.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku. Kui sisendjoonel ei leita mõõtu, on tulemuseks null.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punkti esimene koordinaat sisendjoonel `inputLine` määratud mõõdu väärtuse põhjal.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus kohast `inputLine`, mõõdetuna mööda joont kuni kohani `coordinate`. Murdjoontel, kus teed ei ole ühendatud, ei sisalda väärtus `distanceAlong` vahemaad teede algus- ja lõpptippude vaheliste vahede vahel.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Murdjoonsisendi puhul selle tee indeks, kuhu `coordinate` kuulub.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Selle joonsegmendi indeks (suhteline teega), kuhu `coordinate` kuulub. Kui `coordinate` tähistab sisendjoone käänupunkti, siis tagastab `segmentId` eelmise käänupunkti indeksi. Kui `coordinate` on üksuse `inputLine` esimene käänupunkt, siis on üksuse `segmentId` väärtuseks `0`."
1233
1233
  }
1234
1234
  },
1235
1235
  "parametersInfo": {
@@ -1353,7 +1353,7 @@
1353
1353
  "kind": 3,
1354
1354
  "documentation": {
1355
1355
  "kind": "markdown",
1356
- "value": "**[Alates versioonist 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab sisendgeomeetria lähima koordinaadi (mitte käänupunkt) otsingupunkti. Tagastatud sõnastik sisaldab ka lühimat planaarset kaugust alguspunktist kuni lähima koordinaadini. Kui otsingupunkt ristub sisendgeomeetriaga, siis otsingupunkt tagastatakse tulemusena, mille kaugus on null.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geomeetria, millest saadakse lähim koordinaat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punkt, millest leitakse argumendi „inputGeometry“ (sisendgeomeetria) lähim koordinaat.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Lähim koordinaat argumendist „inputGeometry“ (sisendgeomeetria) kuni argumendini „searchPoint“ (otsingupunkt).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus lähimast koordinaadist kuni argumendini „searchPoint“ (otsingupunkt). See kujutab lühimat kaugust argumentide „inputGeometry“ (sisendgeomeetria) ja „searchPoint“ (otsingupunkt) vahel.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
1356
+ "value": "**[Alates versioonist 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab sisendgeomeetria lähima koordinaadi (mitte käänupunkt) otsingupunkti. Tagastatud sõnastik sisaldab ka lühimat planaarset kaugust alguspunktist kuni lähima koordinaadini. Kui otsingupunkt ristub sisendgeomeetriaga, siis otsingupunkt tagastatakse tulemusena, mille kaugus on null.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geomeetria, millest saadakse lähim koordinaat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punkt, millest leitakse argumendi „inputGeometry“ (sisendgeomeetria) lähim koordinaat.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Lähim koordinaat argumendist „inputGeometry“ (sisendgeomeetria) kuni argumendini „searchPoint“ (otsingupunkt).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus lähimast koordinaadist kuni argumendini „searchPoint“ (otsingupunkt). See kujutab lühimat kaugust argumentide „inputGeometry“ (sisendgeomeetria) ja „searchPoint“ (otsingupunkt) vahel.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ruumiline seos üksuse `searchPoint` ja üksuse `inputGeometry` segmendi vahel kuni lähima koordinaadini. Võimalikud väärtused: \n\n`left` – `searchPoint` asub üksusest `inputGeometry` vasakul.\n\n`right` – `searchPoint` asub üksusest `inputGeometry` paremal.\n\n`straddle` – `searchPoint` on mõlemal küljel või asub üksuse `inputGeometry` kohal."
1357
1357
  }
1358
1358
  },
1359
1359
  "parametersInfo": {
@@ -1378,7 +1378,7 @@
1378
1378
  "kind": 3,
1379
1379
  "documentation": {
1380
1380
  "kind": "markdown",
1381
- "value": "**[Alates versioonist 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab sisendgeomeetria lähima käänupunkti otsingupunkti. Tagastatud sõnastik sisaldab planaarset kaugust alguspunktist kuni lähima käänupunktini.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geomeetria, millest saadakse lähim käänupunkt.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punkt, millest leitakse argumendi „inputGeometry“ (sisendgeomeetria) lähim käänupunkt.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punkti asukoht, mis kujutab lähimat käänupunkti argumendist „inputGeometry“ (sisendgeomeetria) kuni argumendini „searchPoint“ (otsingupunkt).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus sisendgeomeetria lähimast käänupunktist kuni argumendini „searchPoint“ (otsingupunkt).\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
1381
+ "value": "**[Alates versioonist 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab sisendgeomeetria lähima käänupunkti otsingupunkti. Tagastatud sõnastik sisaldab planaarset kaugust alguspunktist kuni lähima käänupunktini.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geomeetria, millest saadakse lähim käänupunkt.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Punkt, millest leitakse argumendi „inputGeometry“ (sisendgeomeetria) lähim käänupunkt.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punkti asukoht, mis kujutab lähimat käänupunkti argumendist „inputGeometry“ (sisendgeomeetria) kuni argumendini „searchPoint“ (otsingupunkt).\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus sisendgeomeetria lähimast käänupunktist kuni argumendini „searchPoint“ (otsingupunkt).\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ruumiline seos üksuse `searchPoint` ja üksuse `inputGeometry` segmendi vahel kuni lähima käänupunktini. Võimalikud väärtused: \n\n`left` – `searchPoint` asub üksusest `inputGeometry` vasakul.\n\n`right` – `searchPoint` asub üksusest `inputGeometry` paremal.\n\n`straddle` – `searchPoint` on mõlemal küljel või asub üksuse `inputGeometry` kohal."
1382
1382
  }
1383
1383
  },
1384
1384
  "parametersInfo": {
@@ -1492,8 +1492,8 @@
1492
1492
  "bundle": "geometry",
1493
1493
  "sinceVersion": "1.26",
1494
1494
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
1495
- "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._",
1496
- "examples": "\n##### Näide\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",
1495
+ "description": "Tagastab lähima koordinaadi ja vahemaa selle sisendjoone otsingupunkti koordinaadini.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.",
1496
+ "examples": "\n##### Näide\n\nTagastab vahemaa lähima koordinaadini sisendmurdjoonel hüpikakna avamiseks klõpsatud asukoha põhjal\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
1497
1497
  "completion": {
1498
1498
  "label": "PointToCoordinate",
1499
1499
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -1503,7 +1503,7 @@
1503
1503
  "kind": 3,
1504
1504
  "documentation": {
1505
1505
  "kind": "markdown",
1506
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
1506
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab lähima koordinaadi ja vahemaa selle sisendjoone otsingupunkti koordinaadini.\n\nObjektigeomeetriad visualiseerimis- ja märgistamisprofiilides üldistatakse vastavalt vaate mõõtkava eraldusvõimele, et parandada jõudlust joonistamisel. Seetõttu tagastab objekti geomeetria (st `$feature`) kasutamine selles kontekstis mis tahes geomeetriafunktsiooni sisendina igal mõõtkava tasemel erineva tulemuse. Muud profiilid, näiteks hüpikaken, annavad täisresolutsiooniga geomeetria.\n\n**Parameetrid**\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) - Joon või tee, millest saadakse lähim koordinaat. Kui sisendina kasutatakse objekti, peab objekti geomeetria olema murdjoon.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punkt, millest saadakse üksuse `inputLine` lähim koordinaat.\n\n**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTagastab järgmiste atribuutidega sõnastiku.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Punktkoordinaat, mis tähistab lähimat koordinaati joonel `inputLine` kuni punktini `searchPoint`. Kui `hasZ` on `false` kohas `searchPoint`, siis tehakse otsing x-/y-koordinaatides ja z-väärtus interpoleeritakse.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus punktist `searchPoint` üksuseni `coordinate`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Planaarne kaugus kohast `inputLine`, mõõdetuna mööda joont kuni kohani `coordinate`. Murdjoontel, kus teed ei ole ühendatud, ei sisalda väärtus `distanceAlong` vahemaad teede algus- ja lõpptippude vaheliste vahede vahel.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Murdjoonsisendi puhul selle tee indeks, kuhu `coordinate` kuulub.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Selle joonsegmendi indeks (suhteline teega), kuhu `coordinate` kuulub. Kui `coordinate` tähistab sisendjoone käänupunkti, siis tagastab `segmentId` eelmise käänupunkti indeksi. Kui `coordinate` on üksuse `inputLine` esimene käänupunkt, siis on üksuse `segmentId` väärtuseks `0`."
1507
1507
  }
1508
1508
  },
1509
1509
  "parametersInfo": {
@@ -2149,7 +2149,7 @@
2149
2149
  "bundle": "core",
2150
2150
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
2151
2151
  "description": "Lahutab üksteisest kaks kuupäeva ja tagastab nende vahele jääva aja määratud ühikutes.",
2152
- "examples": "\n##### Näited\n\nLahutab üksteisest kaks kuupäeva ja tagastab vanuse\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",
2152
+ "examples": "\n##### Näited\n\nLahutab üksteisest kaks kuupäeva ja tagastab vanuse\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nLahutab üksteisest kaks kuupäeva ja tagastab erinevuse\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",
2153
2153
  "completion": {
2154
2154
  "label": "DateDiff",
2155
2155
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3408,8 +3408,8 @@
3408
3408
  "bundle": "core",
3409
3409
  "sinceVersion": "1.26",
3410
3410
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
3411
- "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.",
3412
- "examples": "\n##### Näited\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",
3411
+ "description": "Tagastab määratud vaikeväärtuse, kui massiivi indeksit pole või määratud indeksi väärtus on null või tühi tekstiväärtus.",
3412
+ "examples": "\n##### Näited\n\nMassiiv, millel on määratud indeksis väärtus\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nMassiiv, millel pole määratud indeksis väärtust\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nMassiiv, millel on määratud indeksis nullväärtus\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
3413
3413
  "completion": {
3414
3414
  "label": "DefaultValue",
3415
3415
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -3419,7 +3419,7 @@
3419
3419
  "kind": 3,
3420
3420
  "documentation": {
3421
3421
  "kind": "markdown",
3422
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
3422
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab määratud vaikeväärtuse, kui massiivi indeksit pole või määratud indeksi väärtus on null või tühi tekstiväärtus.\n\n**Parameetrid**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Kontrollitav sisendmassiiv.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Kontrollitav indeks.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui indeksit pole või määratud indeksi väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud indeksi väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
3423
3423
  }
3424
3424
  },
3425
3425
  "parametersInfo": {
@@ -3432,8 +3432,8 @@
3432
3432
  "name": "defaultvalue",
3433
3433
  "bundle": "core",
3434
3434
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
3435
- "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.",
3436
- "examples": "\n##### Näited\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",
3435
+ "description": "Kontrollib, kas mitmemõõtmelises massiivis mitu taset sügavamale pesastatud indeksil on väärtus, ja kui on, siis tagastab selle väärtuse. Vastasel korral tagastab see funktsioon määratud vaikeväärtuse, kui vähemalt ühte pesastatud võtit või indeksit pole või kui määratud võtme või indeksi väärtus on null või tühi tekstiväärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igas massiivis.",
3436
+ "examples": "\n##### Näited\n\nMassiiv, millel on pesastatud indeksis väärtus\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\nMassiiv, millel pole pesastatud indeksis väärtust\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\nMassiiv, millel pole ülataseme indeksis väärtust\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\nPesastatud väärtustega sõnastike massiiv\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",
3437
3437
  "completion": {
3438
3438
  "label": "DefaultValue",
3439
3439
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3443,7 +3443,7 @@
3443
3443
  "kind": 3,
3444
3444
  "documentation": {
3445
3445
  "kind": "markdown",
3446
- "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**Parameetrid**\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**Tagastusväärtus**: [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`."
3446
+ "value": "Kontrollib, kas mitmemõõtmelises massiivis mitu taset sügavamale pesastatud indeksil on väärtus, ja kui on, siis tagastab selle väärtuse. Vastasel korral tagastab see funktsioon määratud vaikeväärtuse, kui vähemalt ühte pesastatud võtit või indeksit pole või kui määratud võtme või indeksi väärtus on null või tühi tekstiväärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igas massiivis.\n\n**Parameetrid**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Kontrollitav sisendmassiiv.\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)> - Konteineri struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui vähemalt ühte võtit või indeksit pole või kui määratud indeksi väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud võtme või indeksi väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
3447
3447
  }
3448
3448
  },
3449
3449
  "parametersInfo": {
@@ -3610,8 +3610,8 @@
3610
3610
  "bundle": "core",
3611
3611
  "sinceVersion": "1.26",
3612
3612
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
3613
- "description": "Indicates whether an array has a value at the given index.",
3614
- "examples": "\n##### Näited\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",
3613
+ "description": "Näitab, kas massiivil on määratud indeksis väärtus.",
3614
+ "examples": "\n##### Näited\n\nMassiiv, millel on määratud indeksis väärtus\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nMassiiv, millel pole määratud indeksis väärtust\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nMassiiv, millel on määratud indeksis nullväärtus\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
3615
3615
  "completion": {
3616
3616
  "label": "HasValue",
3617
3617
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -3621,7 +3621,7 @@
3621
3621
  "kind": 3,
3622
3622
  "documentation": {
3623
3623
  "kind": "markdown",
3624
- "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3624
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNäitab, kas massiivil on määratud indeksis väärtus.\n\n**Parameetrid**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Kontrollitav massiiv.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Kontrollitav indeks.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3625
3625
  }
3626
3626
  },
3627
3627
  "parametersInfo": {
@@ -3635,8 +3635,8 @@
3635
3635
  "bundle": "core",
3636
3636
  "sinceVersion": "1.26",
3637
3637
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
3638
- "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.",
3639
- "examples": "\n##### Näited\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",
3638
+ "description": "Kontrollib, kas mitmemõõtmelises massiivis mitu taset sügavamale pesastatud indeksil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igas massiivis. Tagastab väärtuse `true`, kui struktuuri igal tasemel on indeksid ja need sisaldavad mittenullväärtust.",
3639
+ "examples": "\n##### Näited\n\nMassiiv, millel on pesastatud indeksis väärtus\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nMassiiv, millel pole pesastatud indeksis väärtust\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nMassiiv, millel pole ülataseme indeksis väärtust\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nPesastatud väärtustega sõnastike massiiv\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",
3640
3640
  "completion": {
3641
3641
  "label": "HasValue",
3642
3642
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -3646,7 +3646,7 @@
3646
3646
  "kind": 3,
3647
3647
  "documentation": {
3648
3648
  "kind": "markdown",
3649
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3649
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nKontrollib, kas mitmemõõtmelises massiivis mitu taset sügavamale pesastatud indeksil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igas massiivis. Tagastab väärtuse `true`, kui struktuuri igal tasemel on indeksid ja need sisaldavad mittenullväärtust.\n\n**Parameetrid**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Kontrollitav massiiv.\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)> - Struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3650
3650
  }
3651
3651
  },
3652
3652
  "parametersInfo": {
@@ -4856,7 +4856,7 @@
4856
4856
  "sinceVersion": "1.7",
4857
4857
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
4858
4858
  "description": "Tagastab seotud domeenikirjelduse koodi objektis.",
4859
- "examples": "\n##### Näide\n\nkuvab viidatud välja domeenikirjelduse.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
4859
+ "examples": "\n##### Näide\n\nprindib viidatud välja domeenikoodi.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
4860
4860
  "completion": {
4861
4861
  "label": "DomainCode",
4862
4862
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -5079,8 +5079,8 @@
5079
5079
  "bundle": "core",
5080
5080
  "sinceVersion": "1.20",
5081
5081
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
5082
- "description": "Indicates whether a feature has a given field and if that field has a value.",
5083
- "examples": "\n##### Näide\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",
5082
+ "description": "Näitab, kas objektil on antud väli ja kas väljal on väärtus.",
5083
+ "examples": "\n##### Näide\n\nTagastab väärtuse „väär“, kui objekti atribuuti pole või see on tühi\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",
5084
5084
  "completion": {
5085
5085
  "label": "HasValue",
5086
5086
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -5090,7 +5090,7 @@
5090
5090
  "kind": 3,
5091
5091
  "documentation": {
5092
5092
  "kind": "markdown",
5093
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5093
+ "value": "**[Alates versioonist 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNäitab, kas objektil on antud väli ja kas väljal on väärtus.\n\n**Parameetrid**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Kontrollitav objekt.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kontrollitav väljanimi.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
5094
5094
  }
5095
5095
  },
5096
5096
  "parametersInfo": {
@@ -5710,8 +5710,8 @@
5710
5710
  "bundle": "data-access",
5711
5711
  "sinceVersion": "1.25",
5712
5712
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
5713
- "description": "Š_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________ä.",
5714
- "examples": "\n##### Näide\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",
5713
+ "description": "Loob uue funktsioonikomplekti koos kõigi funktsioonidega, mis vastavad antud alamtüübi koodile.",
5714
+ "examples": "\n##### Näide\n\nFiltreeri funktsioonid alamtüübi koodiga\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
5715
5715
  "completion": {
5716
5716
  "label": "FilterBySubtypeCode",
5717
5717
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -5721,7 +5721,7 @@
5721
5721
  "kind": 3,
5722
5722
  "documentation": {
5723
5723
  "kind": "markdown",
5724
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5724
+ "value": "**[Alates versioonist 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nLoob uue funktsioonikomplekti koos kõigi funktsioonidega, mis vastavad antud alamtüübi koodile.\n\n**Parameetrid**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - Filtreeritav objektikogum või kiht.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Funktsioonikomplektis või kihis funktsioonide filtreerimiseks kasutatud alamtüübi kood.\n\n**Tagastusväärtus**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5725
5725
  }
5726
5726
  },
5727
5727
  "parametersInfo": {
@@ -6841,62 +6841,6 @@
6841
6841
  }
6842
6842
  ]
6843
6843
  },
6844
- {
6845
- "id": "knowledgegraph_functions",
6846
- "title": "Š_Knowledge graph functions__________________________ä",
6847
- "items": [
6848
- {
6849
- "type": "function",
6850
- "name": "knowledgegraphbyportalitem",
6851
- "bundle": "knowledge-graph",
6852
- "sinceVersion": "1.26",
6853
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
6854
- "description": "Š_Returns a knowledge graph from a portal item________________________ä.",
6855
- "examples": "\n##### Näide\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",
6856
- "completion": {
6857
- "label": "KnowledgeGraphByPortalItem",
6858
- "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
6859
- "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
6860
- "insertTextMode": 2,
6861
- "insertTextFormat": 2,
6862
- "kind": 3,
6863
- "documentation": {
6864
- "kind": "markdown",
6865
- "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nŠ_Returns a knowledge graph from a portal item________________________ä.\n\n**Parameetrid**\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**Tagastusväärtus**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
6866
- }
6867
- },
6868
- "parametersInfo": {
6869
- "min": 2,
6870
- "max": 2
6871
- }
6872
- },
6873
- {
6874
- "type": "function",
6875
- "name": "querygraph",
6876
- "bundle": "knowledge-graph",
6877
- "sinceVersion": "1.26",
6878
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
6879
- "description": "Š_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ä.",
6880
- "examples": "\n##### Näide\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",
6881
- "completion": {
6882
- "label": "QueryGraph",
6883
- "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
6884
- "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
6885
- "insertTextMode": 2,
6886
- "insertTextFormat": 2,
6887
- "kind": 3,
6888
- "documentation": {
6889
- "kind": "markdown",
6890
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
6891
- }
6892
- },
6893
- "parametersInfo": {
6894
- "min": 2,
6895
- "max": 3
6896
- }
6897
- }
6898
- ]
6899
- },
6900
6844
  {
6901
6845
  "id": "debugging_functions",
6902
6846
  "title": "Silumisfunktsioonid",
@@ -6963,8 +6907,8 @@
6963
6907
  "bundle": "core",
6964
6908
  "sinceVersion": "1.26",
6965
6909
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
6966
- "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.",
6967
- "examples": "\n##### Näited\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",
6910
+ "description": "Tagastab määratud vaikeväärtuse, kui sõnastikus pole võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.",
6911
+ "examples": "\n##### Näited\n\nDefaultValue tagastab määratletud väärtuse\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 tagastab vaikeväärtuse, kui määratud võtmes pole väärtust.\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 tagastab vaikeväärtuse, kui võtit pole.\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",
6968
6912
  "completion": {
6969
6913
  "label": "DefaultValue",
6970
6914
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -6974,7 +6918,7 @@
6974
6918
  "kind": 3,
6975
6919
  "documentation": {
6976
6920
  "kind": "markdown",
6977
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [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`."
6921
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab määratud vaikeväärtuse, kui sõnastikus pole võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Parameetrid**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Kontrollitav sõnastik või manus.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kontrollitav võti.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui võtit pole või määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud võtme väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
6978
6922
  }
6979
6923
  },
6980
6924
  "parametersInfo": {
@@ -6987,8 +6931,8 @@
6987
6931
  "name": "defaultvalue",
6988
6932
  "bundle": "core",
6989
6933
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
6990
- "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.",
6991
- "examples": "\n##### Näited\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",
6934
+ "description": "Tagastab määratud vaikeväärtuse, kui pesastatud sõnastikus pole vähemalt üht võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.",
6935
+ "examples": "\n##### Näited\n\nDefaultValue tagastab määratletud väärtuse\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 tagastab vaikeväärtuse, kui määratud võtmes pole väärtust.\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 tagastab vaikeväärtuse, kui võtit pole.\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\nKontrollib nullväärtust olemasoleva võtmega sõnastiku massiivis\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",
6992
6936
  "completion": {
6993
6937
  "label": "DefaultValue",
6994
6938
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -6998,7 +6942,7 @@
6998
6942
  "kind": 3,
6999
6943
  "documentation": {
7000
6944
  "kind": "markdown",
7001
- "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**Parameetrid**\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**Tagastusväärtus**: [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`."
6945
+ "value": "Tagastab määratud vaikeväärtuse, kui pesastatud sõnastikus pole vähemalt üht võtit või kui määratud võtme väärtus on null või tühi tekstiväärtus.\n\n**Parameetrid**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Kontrollitav sõnastik või manus.\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)> - Konteineri struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Väärtus tagastatakse, kui vähemalt ühte võtit või indeksit pole või kui määratud indeksi väärtus on null või tühi tekstiväärtus.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nTagastab määratud võtme või indeksi väärtuse, kui see on määratletud. Vastasel korral tagastab kohas `defaultValue` määratletud väärtuse."
7002
6946
  }
7003
6947
  },
7004
6948
  "parametersInfo": {
@@ -7189,8 +7133,8 @@
7189
7133
  "bundle": "core",
7190
7134
  "sinceVersion": "1.20",
7191
7135
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
7192
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
7193
- "examples": "\n##### Näited\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",
7136
+ "description": "Näitab, kas sõnastikul on antud võti ja kas sellel võtmel on väärtus.",
7137
+ "examples": "\n##### Näited\n\nSõnastik võtmega, millel on väärtus\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nSõnastik võtmega, millel ei ole väärtust\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nSõnastik ilma esitatud võtmeta\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nSõnastik ilma esitatud võtmeta\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
7194
7138
  "completion": {
7195
7139
  "label": "HasValue",
7196
7140
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -7200,7 +7144,7 @@
7200
7144
  "kind": 3,
7201
7145
  "documentation": {
7202
7146
  "kind": "markdown",
7203
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7147
+ "value": "**[Alates versioonist 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNäitab, kas sõnastikul on antud võti ja kas sellel võtmel on väärtus.\n\n**Parameetrid**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Kontrollitav sõnastik või manus.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kontrollitav võtme- või väljanimi.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7204
7148
  }
7205
7149
  },
7206
7150
  "parametersInfo": {
@@ -7214,8 +7158,8 @@
7214
7158
  "bundle": "core",
7215
7159
  "sinceVersion": "1.26",
7216
7160
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
7217
- "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.",
7218
- "examples": "\n##### Näited\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",
7161
+ "description": "Kontrollib, kas sõnastikus mitu taset sügavamale pesastatud atribuudil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igal tasemel. Tagastab väärtuse `true`, kui struktuuri igal tasemel on võtmed ja indeksid ja need sisaldavad mittenullväärtust.",
7162
+ "examples": "\n##### Näited\n\nKontrollib sõnastikku, millel on pesastatud väärtusega võti\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\nKontrollib väärtust sõnastikus, mille võtit pole\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\nKontrollib väärtust puuduva võtmega sõnastiku massiivis\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",
7219
7163
  "completion": {
7220
7164
  "label": "HasValue",
7221
7165
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -7225,7 +7169,7 @@
7225
7169
  "kind": 3,
7226
7170
  "documentation": {
7227
7171
  "kind": "markdown",
7228
- "value": "**[Alates versioonist 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**Parameetrid**\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**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7172
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nKontrollib, kas sõnastikus mitu taset sügavamale pesastatud atribuudil on väärtus. See võimaldab pesastatud struktuuris ühe taseme võrra süvitsi minna, nii et väärtusi ei pea kontrollima igal tasemel. Tagastab väärtuse `true`, kui struktuuri igal tasemel on võtmed ja indeksid ja need sisaldavad mittenullväärtust.\n\n**Parameetrid**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Kontrollitav sõnastik või manus.\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; - Struktuuris igal tasemel kontrollitavate võtmete või indeksite massiiv.\n\n**Tagastusväärtus**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7229
7173
  }
7230
7174
  },
7231
7175
  "parametersInfo": {
@@ -7236,6 +7180,62 @@
7236
7180
  ]
7237
7181
  ]
7238
7182
  },
7183
+ {
7184
+ "id": "knowledge-graph_functions",
7185
+ "title": "Teabegraafiku funktsioonid",
7186
+ "items": [
7187
+ {
7188
+ "type": "function",
7189
+ "name": "knowledgegraphbyportalitem",
7190
+ "bundle": "knowledge-graph",
7191
+ "sinceVersion": "1.26",
7192
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
7193
+ "description": "Tagastab portaaliüksusest teabegraafiku.",
7194
+ "examples": "\n##### Näide\n\nTagastab portaaliüksusest teabegraafiku.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
7195
+ "completion": {
7196
+ "label": "KnowledgeGraphByPortalItem",
7197
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
7198
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
7199
+ "insertTextMode": 2,
7200
+ "insertTextFormat": 2,
7201
+ "kind": 3,
7202
+ "documentation": {
7203
+ "kind": "markdown",
7204
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTagastab portaaliüksusest teabegraafiku.\n\n**Parameetrid**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Portaal, kust tehakse objektide päring.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Selle portaaliüksuse GUID, mis viitab teabegraafiku teenusele. _See väärtus peab olema teksti literaal._\n\n**Tagastusväärtus**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
7205
+ }
7206
+ },
7207
+ "parametersInfo": {
7208
+ "min": 2,
7209
+ "max": 2
7210
+ }
7211
+ },
7212
+ {
7213
+ "type": "function",
7214
+ "name": "querygraph",
7215
+ "bundle": "knowledge-graph",
7216
+ "sinceVersion": "1.26",
7217
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
7218
+ "description": "Teeb teabegraafikust päringu openCypher-päringu abil ning tagastab graafiku üksuste ja seoste kogumi koos nende atribuutidega.",
7219
+ "examples": "\n##### Näited\n\nTeeb teabegraafikust teabepäringu väärtuse `Student` üksuste kohta, mida see sisaldab.\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\nTeeb teabegraafikust päringu sidumisparameetrite abil.\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",
7220
+ "completion": {
7221
+ "label": "QueryGraph",
7222
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
7223
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
7224
+ "insertTextMode": 2,
7225
+ "insertTextFormat": 2,
7226
+ "kind": 3,
7227
+ "documentation": {
7228
+ "kind": "markdown",
7229
+ "value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nTeeb teabegraafikust päringu openCypher-päringu abil ning tagastab graafiku üksuste ja seoste kogumi koos nende atribuutidega.\n\n**Parameetrid**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - Teabegraafik, millest tehakse päring.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - openCypher-päring, mis tehakse teabegraafikus.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - openCypher-päringu nimeliste päringuparameetrite sõnastik. Parameetrinimed või võtmed on sõnastikus tõstutundlikud. Aktsepteeritavad parameetrid sõltuvad välisest graafiku hoidlast ja nende tüüp võib olla: `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text`\n\n**Tagastusväärtus**: Array"
7230
+ }
7231
+ },
7232
+ "parametersInfo": {
7233
+ "min": 2,
7234
+ "max": 3
7235
+ }
7236
+ }
7237
+ ]
7238
+ },
7239
7239
  {
7240
7240
  "id": "text_functions",
7241
7241
  "title": "Tekstifunktsioonid",