@arcgis/coding-components 4.29.0-beta.99 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +111 -111
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +113 -113
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +111 -111
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +111 -111
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +111 -111
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +111 -111
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +111 -111
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +111 -111
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +19 -19
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +111 -111
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +111 -111
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +111 -111
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +111 -111
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +111 -111
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +111 -111
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +111 -111
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +111 -111
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +111 -111
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +111 -111
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +111 -111
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +111 -111
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +111 -111
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +111 -111
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +66 -66
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +66 -66
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +111 -111
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +111 -111
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +66 -66
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +111 -111
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +111 -111
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +111 -111
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +111 -111
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +111 -111
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +111 -111
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +111 -111
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +111 -111
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +111 -111
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +66 -66
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +66 -66
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +66 -66
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +4 -4
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +4 -4
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +4 -4
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +4 -4
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +4 -4
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +3 -3
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +3 -3
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +4 -4
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +3 -3
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +4 -4
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +3 -3
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +4 -4
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +4 -4
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +4 -4
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +4 -4
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +4 -4
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +4 -4
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +4 -4
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +4 -4
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +4 -4
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +4 -4
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +4 -4
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +4 -4
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +4 -4
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +4 -4
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +4 -4
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +4 -4
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +4 -4
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +3 -3
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +4 -4
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +4 -4
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +4 -4
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +4 -4
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +4 -4
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +4 -4
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +4 -4
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +4 -4
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +4 -4
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +4 -4
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +4 -4
  82. package/dist/arcgis-coding-components/index.esm.js +2 -2
  83. package/dist/arcgis-coding-components/{p-e1cb02b3.js → p-0a2edf01.js} +2 -2
  84. package/dist/arcgis-coding-components/p-11e79992.js +6 -0
  85. package/dist/arcgis-coding-components/{p-f75beb80.js → p-36e2cbc2.js} +3 -3
  86. package/dist/arcgis-coding-components/{p-457e3916.js → p-4406b5a8.js} +2 -2
  87. package/dist/arcgis-coding-components/{p-87d7ad9e.js → p-4eb30e60.js} +1 -1
  88. package/dist/arcgis-coding-components/{p-7f9d3fdc.js → p-619ca372.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-7e0e8ecc.js → p-71125c69.js} +2 -2
  90. package/dist/arcgis-coding-components/{p-0bab0228.js → p-8d7f0979.js} +2 -2
  91. package/dist/arcgis-coding-components/p-9b8091c1.entry.js +6 -0
  92. package/dist/arcgis-coding-components/{p-ad86a5f5.js → p-bd81fdff.js} +11 -11
  93. package/dist/arcgis-coding-components/{p-f23f7fee.js → p-ecc8dd8a.js} +2 -2
  94. package/dist/arcgis-coding-components/{p-4648782b.js → p-f9016c56.js} +2 -2
  95. package/dist/cjs/{arcade-defaults-5dd9ebb7.js → arcade-defaults-b30ccec8.js} +271 -236
  96. package/dist/cjs/{arcade-mode-0b4c53a1.js → arcade-mode-eb755260.js} +11 -14
  97. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +160 -184
  98. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  99. package/dist/cjs/{css-fe7f8980.js → css-9e907aa0.js} +1 -1
  100. package/dist/cjs/{cssMode-4c9b3a32.js → cssMode-e4189b13.js} +3 -3
  101. package/dist/cjs/{html-b044fbba.js → html-2582ae43.js} +3 -3
  102. package/dist/cjs/{htmlMode-956a6ffa.js → htmlMode-0edcf1ee.js} +3 -3
  103. package/dist/cjs/{index-aaceaf1f.js → index-54d6f9be.js} +1 -1
  104. package/dist/cjs/index.cjs.js +3 -3
  105. package/dist/cjs/{javascript-6c55ac8b.js → javascript-425c653a.js} +4 -4
  106. package/dist/cjs/{jsonMode-d83e322c.js → jsonMode-eea03515.js} +3 -3
  107. package/dist/cjs/loader.cjs.js +3 -3
  108. package/dist/cjs/{tsMode-5c5ffa3e.js → tsMode-b92c9221.js} +3 -3
  109. package/dist/cjs/{typescript-6143656a.js → typescript-cfc1221c.js} +3 -3
  110. package/dist/components/arcade-api.js +20 -18
  111. package/dist/components/arcade-contribution.js +9 -8
  112. package/dist/components/arcade-defaults.js +188 -168
  113. package/dist/components/arcade-mode.js +10 -12
  114. package/dist/components/arcade-results.js +29 -83
  115. package/dist/components/arcade-suggestions.js +15 -12
  116. package/dist/components/arcade-variables.js +30 -21
  117. package/dist/components/arcgis-arcade-api.js +1 -1
  118. package/dist/components/arcgis-arcade-editor.js +61 -49
  119. package/dist/components/arcgis-arcade-results.js +1 -1
  120. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  121. package/dist/components/arcgis-arcade-variables.js +1 -1
  122. package/dist/components/arcgis-code-editor.js +1 -1
  123. package/dist/components/code-editor.js +1 -1
  124. package/dist/components/fields.js +37 -23
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/index2.js +3 -3
  127. package/dist/components/markdown.js +10 -1
  128. package/dist/components/utilities.js +4 -4
  129. package/dist/esm/{arcade-defaults-2d7283d4.js → arcade-defaults-a5dc6132.js} +267 -233
  130. package/dist/esm/{arcade-mode-a8abe5af.js → arcade-mode-d06b6e4f.js} +11 -14
  131. package/dist/esm/arcgis-arcade-api_6.entry.js +160 -184
  132. package/dist/esm/arcgis-coding-components.js +4 -4
  133. package/dist/esm/{css-d31a02ca.js → css-59b4804d.js} +1 -1
  134. package/dist/esm/{cssMode-5ee45e91.js → cssMode-2bce7da7.js} +3 -3
  135. package/dist/esm/{html-5c2e488c.js → html-3ad47fc0.js} +3 -3
  136. package/dist/esm/{htmlMode-376cd5e8.js → htmlMode-6cb73c91.js} +3 -3
  137. package/dist/esm/{index-1b265749.js → index-ee54d182.js} +1 -1
  138. package/dist/esm/index.js +3 -3
  139. package/dist/esm/{javascript-13ddec2b.js → javascript-8917f926.js} +4 -4
  140. package/dist/esm/{jsonMode-674e89d6.js → jsonMode-9a1dbf00.js} +3 -3
  141. package/dist/esm/loader.js +4 -4
  142. package/dist/esm/{tsMode-4c4398d7.js → tsMode-2caf1509.js} +3 -3
  143. package/dist/esm/{typescript-b328b622.js → typescript-a3abccc0.js} +3 -3
  144. package/dist/loader/cdn.js +1 -1
  145. package/dist/loader/index.cjs.js +1 -1
  146. package/dist/loader/index.es2017.js +1 -1
  147. package/dist/loader/index.js +1 -1
  148. package/dist/types/components/arcade-editor/arcade-editor.d.ts +2 -7
  149. package/dist/types/components/arcade-variables/arcade-variables.d.ts +0 -1
  150. package/dist/types/components.d.ts +2 -7
  151. package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +2 -2
  152. package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -0
  153. package/dist/types/utils/constants.d.ts +2 -2
  154. package/dist/types/utils/fields.d.ts +1 -0
  155. package/dist/types/utils/markdown.d.ts +3 -0
  156. package/dist/types/utils/profile/editor-profile.d.ts +49 -63
  157. package/dist/types/utils/profile/types.d.ts +122 -1
  158. package/dist/types/utils/profile/utils.d.ts +22 -9
  159. package/package.json +8 -8
  160. package/dist/arcgis-coding-components/p-6d56a4b8.entry.js +0 -6
  161. package/dist/arcgis-coding-components/p-a75f5087.js +0 -6
  162. package/dist/components/functional-components.js +0 -15
  163. package/dist/types/utils/functional-components.d.ts +0 -7
  164. package/dist/types/utils/json-format.d.ts +0 -1
@@ -145,62 +145,6 @@
145
145
  }
146
146
  ]
147
147
  },
148
- {
149
- "id": "knowledgegraph_functions",
150
- "title": "Ж_Knowledge graph functions__________________________Я",
151
- "items": [
152
- {
153
- "type": "function",
154
- "name": "knowledgegraphbyportalitem",
155
- "bundle": "knowledge-graph",
156
- "sinceVersion": "1.26",
157
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
158
- "description": "Ж_Returns a knowledge graph from a portal item________________________Я.",
159
- "examples": "\n##### Пример\n\nЖ_Returns the knowledge graph from the portal item__________________________Я.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
160
- "completion": {
161
- "label": "KnowledgeGraphByPortalItem",
162
- "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
163
- "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
164
- "insertTextMode": 2,
165
- "insertTextFormat": 2,
166
- "kind": 3,
167
- "documentation": {
168
- "kind": "markdown",
169
- "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nЖ_Returns a knowledge graph from a portal item________________________Я.\n\n**Параметры**\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**Возвращаемое значение**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
170
- }
171
- },
172
- "parametersInfo": {
173
- "min": 2,
174
- "max": 2
175
- }
176
- },
177
- {
178
- "type": "function",
179
- "name": "querygraph",
180
- "bundle": "knowledge-graph",
181
- "sinceVersion": "1.26",
182
- "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
183
- "description": "Ж_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________Я.",
184
- "examples": "\n##### Пример\n\nЖ_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________Я.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
185
- "completion": {
186
- "label": "QueryGraph",
187
- "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
188
- "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
189
- "insertTextMode": 2,
190
- "insertTextFormat": 2,
191
- "kind": 3,
192
- "documentation": {
193
- "kind": "markdown",
194
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
195
- }
196
- },
197
- "parametersInfo": {
198
- "min": 2,
199
- "max": 3
200
- }
201
- }
202
- ]
203
- },
204
148
  {
205
149
  "id": "logical_functions",
206
150
  "title": "Логические функции",
@@ -2300,8 +2244,8 @@
2300
2244
  "bundle": "data-access",
2301
2245
  "sinceVersion": "1.25",
2302
2246
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2303
- "description": "Ж_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________Я.",
2304
- "examples": "\n##### Пример\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",
2247
+ "description": "Создает новый FeatureSet со всеми объектами, соответствующими заданному коду подтипа.",
2248
+ "examples": "\n##### Пример\n\nФильтровать объекты по коду подтипа\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2305
2249
  "completion": {
2306
2250
  "label": "FilterBySubtypeCode",
2307
2251
  "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
@@ -2311,7 +2255,7 @@
2311
2255
  "kind": 3,
2312
2256
  "documentation": {
2313
2257
  "kind": "markdown",
2314
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2258
+ "value": "**[Начиная с версии 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nСоздает новый FeatureSet со всеми объектами, соответствующими заданному коду подтипа.\n\n**Параметры**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet, или слой, для фильтрации.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Код подтипа, используемый для фильтра объектов в FeatureSet или слое.\n\n**Возвращаемое значение**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2315
2259
  }
2316
2260
  },
2317
2261
  "parametersInfo": {
@@ -3334,8 +3278,8 @@
3334
3278
  "bundle": "core",
3335
3279
  "sinceVersion": "1.26",
3336
3280
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
3337
- "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.",
3338
- "examples": "\n##### Примеры\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",
3281
+ "description": "Возвращает указанное значение по умолчанию, если ключ в геометрии не существует или значение указанного ключа равно null или является пустым текстовым значением.",
3282
+ "examples": "\n##### Примеры\n\nТочка, у которой есть z-значение.\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nТочка, у которой нет z-значения\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
3339
3283
  "completion": {
3340
3284
  "label": "DefaultValue",
3341
3285
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -3345,7 +3289,7 @@
3345
3289
  "kind": 3,
3346
3290
  "documentation": {
3347
3291
  "kind": "markdown",
3348
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [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`."
3292
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает указанное значение по умолчанию, если ключ в геометрии не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Параметры**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Входная геометрия для проверки.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ключ для проверки.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если ключ не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по заданному ключу, если он определен. В противном случае возвращает значение, указанное в `defaultValue`."
3349
3293
  }
3350
3294
  },
3351
3295
  "parametersInfo": {
@@ -3358,8 +3302,8 @@
3358
3302
  "name": "defaultvalue",
3359
3303
  "bundle": "core",
3360
3304
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
3361
- "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.",
3362
- "examples": "\n##### Примеры\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",
3305
+ "description": "Возвращает указанное значение по умолчанию, если хотя бы один из ключей во вложенных свойствах геометрии не существует или значение указанного ключа равно null или является пустым текстовым значением.",
3306
+ "examples": "\n##### Примеры\n\nКольцо, координата и значение x существуют и имеют значение.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nКольцо не существует\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nКольцо и координата существуют, но m-значение не существует.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
3363
3307
  "completion": {
3364
3308
  "label": "DefaultValue",
3365
3309
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -3369,7 +3313,7 @@
3369
3313
  "kind": 3,
3370
3314
  "documentation": {
3371
3315
  "kind": "markdown",
3372
- "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**Параметры**\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**Возвращаемое значение**: [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`."
3316
+ "value": "Возвращает указанное значение по умолчанию, если хотя бы один из ключей во вложенных свойствах геометрии не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Параметры**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Входная геометрия для проверки.\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)> - Массив ключей или индексов для проверки на каждом уровне структуры контейнера.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если хотя бы один из ключей или индексов не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по заданному ключу или индексу, если они определены. В противном случае возвращает значение, указанное в `defaultValue`."
3373
3317
  }
3374
3318
  },
3375
3319
  "parametersInfo": {
@@ -3534,8 +3478,8 @@
3534
3478
  "bundle": "geometry",
3535
3479
  "sinceVersion": "1.26",
3536
3480
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
3537
- "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._",
3538
- "examples": "\n##### Пример\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",
3481
+ "description": "Возвращает координату вдоль входной линии на основе заданного расстояния. При попытке найти координату на заданном расстоянии учитываются все части линии. Расстояние не включает промежутки между путями (или частями) линии. Если расстояние не найдено вдоль входной линии, то результатом будет null.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._",
3482
+ "examples": "\n##### Пример\n\nВозвращает координату входной линии на основе заданного значения расстояния.\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
3539
3483
  "completion": {
3540
3484
  "label": "DistanceToCoordinate",
3541
3485
  "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
@@ -3545,7 +3489,7 @@
3545
3489
  "kind": 3,
3546
3490
  "documentation": {
3547
3491
  "kind": "markdown",
3548
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [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`."
3492
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает координату вдоль входной линии на основе заданного расстояния. При попытке найти координату на заданном расстоянии учитываются все части линии. Расстояние не включает промежутки между путями (или частями) линии. Если расстояние не найдено вдоль входной линии, то результатом будет null.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\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) - Линия или путь, по которому можно найти координату. При использовании объекта в качестве входных данных геометрия объекта должна представлять собой линию.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Расстояние, используемое для поиска координаты вдоль inputLine от начала линии. При попытке найти координату на заданном расстоянии учитываются все части линии. Расстояние не включает промежутки между путями (или частями) линии. \n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами. Если расстояние не найдено вдоль входной линии, то результатом будет null.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Координаты точки вдоль inputLine на основе заданного значения расстояния.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от начала inputLine, измеренное вдоль линии до координаты. В линиях, где пути не соединяются, значение distanceAlong не включает расстояние промежутков между начальной и конечной вершинами путей.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - В случае, когда входными данными является линия, индекс пути, которому принадлежит coordinate.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Индекс (относительно пути) сегмента линии, которому принадлежит coordinate. Если coordinate представляет вершину входной линии, то segmentId вернет индекс предыдущей вершины. Если coordinate является первой вершиной inputLine, то значение сегмента будет равно 0."
3549
3493
  }
3550
3494
  },
3551
3495
  "parametersInfo": {
@@ -3733,8 +3677,8 @@
3733
3677
  "bundle": "core",
3734
3678
  "sinceVersion": "1.26",
3735
3679
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
3736
- "description": "Indicates whether a geometry has a value at a given key or index.",
3737
- "examples": "\n##### Примеры\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",
3680
+ "description": "Указывает, есть ли у геометрии значение по данному ключу или индексу.",
3681
+ "examples": "\n##### Примеры\n\nТочка, у которой есть z-значение\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nПолигон с несуществующим ключом\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
3738
3682
  "completion": {
3739
3683
  "label": "HasValue",
3740
3684
  "detail": "HasValue(inputGeometry, key) -> Boolean",
@@ -3744,7 +3688,7 @@
3744
3688
  "kind": 3,
3745
3689
  "documentation": {
3746
3690
  "kind": "markdown",
3747
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3691
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nУказывает, есть ли у геометрии значение по данному ключу или индексу.\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Геометрия для проверки.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ключ или имя свойства для проверки.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3748
3692
  }
3749
3693
  },
3750
3694
  "parametersInfo": {
@@ -3758,8 +3702,8 @@
3758
3702
  "bundle": "core",
3759
3703
  "sinceVersion": "1.26",
3760
3704
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
3761
- "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.",
3762
- "examples": "\n##### Примеры\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",
3705
+ "description": "Проверяет, имеет ли значение свойство или индекс, вложенное на несколько уровней в геометрию. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения на каждом уровне. Возвращает true, если ключи и индексы на каждом уровне структуры существуют и содержат ненулевое значение.",
3706
+ "examples": "\n##### Примеры\n\nКольцо, координата и значение x существуют и имеют значение.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nКольцо не существует\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nКольцо и координата существуют, но m-значение не существует.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,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",
3763
3707
  "completion": {
3764
3708
  "label": "HasValue",
3765
3709
  "detail": "HasValue(inputGeometry, keys) -> Boolean",
@@ -3769,7 +3713,7 @@
3769
3713
  "kind": 3,
3770
3714
  "documentation": {
3771
3715
  "kind": "markdown",
3772
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3716
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПроверяет, имеет ли значение свойство или индекс, вложенное на несколько уровней в геометрию. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения на каждом уровне. Возвращает true, если ключи и индексы на каждом уровне структуры существуют и содержат ненулевое значение.\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - Словарь или объект для проверки.\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)> - Массив ключей или индексов для проверки на каждом уровне структуры.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
3773
3717
  }
3774
3718
  },
3775
3719
  "parametersInfo": {
@@ -3959,8 +3903,8 @@
3959
3903
  "bundle": "geometry",
3960
3904
  "sinceVersion": "1.26",
3961
3905
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
3962
- "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._",
3963
- "examples": "\n##### Пример\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",
3906
+ "description": "Возвращает первую координату вдоль входной линии на основе заданного измерения или m-значения. Если измерение не найдено вдоль входной линии, то результатом будет null. При попытке найти координату на заданном измерении учитываются все части линии. Измерение не включает промежутки между путями (или частями) линии.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._",
3907
+ "examples": "\n##### Пример\n\nВозвращает координату входной линии на основе заданного значения измерения.\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
3964
3908
  "completion": {
3965
3909
  "label": "MeasureToCoordinate",
3966
3910
  "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
@@ -3970,7 +3914,7 @@
3970
3914
  "kind": 3,
3971
3915
  "documentation": {
3972
3916
  "kind": "markdown",
3973
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [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`."
3917
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает первую координату вдоль входной линии на основе заданного измерения или m-значения. Если измерение не найдено вдоль входной линии, то результатом будет null. При попытке найти координату на заданном измерении учитываются все части линии. Измерение не включает промежутки между путями (или частями) линии.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\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) - Линия или путь, по которому можно найти координату. Во входной строке hasM должен иметь значение true. Если у hasM значение false, то будет возвращено значение null. При использовании объекта в качестве входных данных геометрия объекта должна представлять собой линию.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Измерение или m-значение, по которому можно найти координату вдоль inputLine от начала линии. При попытке найти координату на заданном измерении учитываются все части линии. Измерение не включает промежутки между путями (или частями) линии.\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами. Если измерение не найдено вдоль входной линии, то результатом будет null.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Координаты точки вдоль inputLine на основе заданного значения измерения.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от начала inputLine, измеренное вдоль линии до координаты. В линиях, где пути не соединяются, значение distanceAlong не включает расстояние промежутков между начальной и конечной вершинами путей.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - В случае, когда входными данными является линия, индекс пути, которому принадлежит coordinate.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Индекс (относительно пути) сегмента линии, которому принадлежит coordinate. Если coordinate представляет вершину входной линии, то segmentId вернет индекс предыдущей вершины. Если coordinate является первой вершиной inputLine, то значение сегмента будет равно 0."
3974
3918
  }
3975
3919
  },
3976
3920
  "parametersInfo": {
@@ -4094,7 +4038,7 @@
4094
4038
  "kind": 3,
4095
4039
  "documentation": {
4096
4040
  "kind": "markdown",
4097
- "value": "**[Начиная с версии 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает ближайшую координату (не вершину) входной геометрии к точке поиска. Возвращенный словарь также включает кратчайшее плоскостное расстояние от точки поиска до ближайшей координаты. Если точка поиска пересекает входную геометрию, то в качестве результата возвращается точка поиска с нулевым расстоянием.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Геометрия, из которой нужно получить ближайшую координату.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Точка, из которой нужно найти ближайшую координату \\\"inputGeometry\\\".\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Ближайшая координата от \\\"inputGeometry\\\" до \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от ближайшей координаты до \\\"searchPoint\\\". Это представляет собой кратчайшее расстояние между \\\"inputGeometry\\\" и \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4041
+ "value": "**[Начиная с версии 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает ближайшую координату (не вершину) входной геометрии к точке поиска. Возвращенный словарь также включает кратчайшее плоскостное расстояние от точки поиска до ближайшей координаты. Если точка поиска пересекает входную геометрию, то в качестве результата возвращается точка поиска с нулевым расстоянием.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Геометрия, из которой нужно получить ближайшую координату.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Точка, из которой нужно найти ближайшую координату \\\"inputGeometry\\\".\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Ближайшая координата от \\\"inputGeometry\\\" до \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от ближайшей координаты до \\\"searchPoint\\\". Это представляет собой кратчайшее расстояние между \\\"inputGeometry\\\" и \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Пространственное отношение между searchPoint и сегментом inputGeometry, ведущим к ближайшей координате. Возможные значения: \n\n`left` — `searchPoint` находится в левой части `inputGeometry`.\n\n`right` — `searchPoint` находится справа от `inputGeometry`.\n\n`straddle` — `searchPoint` располагается между `inputGeometry` или находится над ним."
4098
4042
  }
4099
4043
  },
4100
4044
  "parametersInfo": {
@@ -4119,7 +4063,7 @@
4119
4063
  "kind": 3,
4120
4064
  "documentation": {
4121
4065
  "kind": "markdown",
4122
- "value": "**[Начиная с версии 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает ближайшую вершину входной геометрии к точке поиска. Возвращенный словарь включает плоскостное расстояние от точки поиска до ближайшей вершины.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Геометрия, из которой нужно получить ближайшую вершину.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Точка, из которой нужно найти ближайшую вершину \\\"inputGeometry\\\".\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Местоположение точки, представляющее ближайшую вершину от \\\"inputGeometry\\\" до \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от ближайшей вершины входной геометрии до \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
4066
+ "value": "**[Начиная с версии 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает ближайшую вершину входной геометрии к точке поиска. Возвращенный словарь включает плоскостное расстояние от точки поиска до ближайшей вершины.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Геометрия, из которой нужно получить ближайшую вершину.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Точка, из которой нужно найти ближайшую вершину \\\"inputGeometry\\\".\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Местоположение точки, представляющее ближайшую вершину от \\\"inputGeometry\\\" до \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от ближайшей вершины входной геометрии до \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Пространственное отношение между searchPoint и сегментом inputGeometry, ведущим к ближайшей вершине. Возможные значения: \n\n`left` — `searchPoint` находится в левой части `inputGeometry`.\n\n`right` — `searchPoint` находится справа от `inputGeometry`.\n\n`straddle` — `searchPoint` располагается между `inputGeometry` или находится над ним."
4123
4067
  }
4124
4068
  },
4125
4069
  "parametersInfo": {
@@ -4233,8 +4177,8 @@
4233
4177
  "bundle": "geometry",
4234
4178
  "sinceVersion": "1.26",
4235
4179
  "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
4236
- "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._",
4237
- "examples": "\n##### Пример\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",
4180
+ "description": "Возвращает ближайшую координату и расстояние до этой координаты точки поиска входной линии.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._",
4181
+ "examples": "\n##### Пример\n\nВозвращает расстояние до ближайшей координаты вдоль входной линии на основе места щелчка для открытия всплывающего окна.\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
4238
4182
  "completion": {
4239
4183
  "label": "PointToCoordinate",
4240
4184
  "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
@@ -4244,7 +4188,7 @@
4244
4188
  "kind": 3,
4245
4189
  "documentation": {
4246
4190
  "kind": "markdown",
4247
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [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`."
4191
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает ближайшую координату и расстояние до этой координаты точки поиска входной линии.\n\n_Геометрия объектов в профилях визуализации и надписывания генерализуется в соответствии с уровнем масштаба вида для улучшения производительности отображения. Следовательно, использование геометрии объектов (т.е. `$feature`) в качестве входных данных для любой геометрической функции в этом контексте будет давать разные результаты на каждом уровне масштаба. Другие профили, такие как всплывающие окна, обеспечивают геометрию с полным разрешением._\n\n**Параметры**\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) - Линия или путь, из которого нужно получить ближайшую координату. При использовании объекта в качестве входных данных геометрия объекта должна представлять собой линию.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Точка, из которой нужно найти ближайшую координату \\\"inputLine\\\".\n\n**Возвращаемое значение**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВозвращает словарь со следующими свойствами.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Координата точки, представляющая ближайшую координату вдоль `inputLine` к `searchPoint`. Если у hasZ значение false в searchPoint, то поиск выполняется в координатах x/y, а значение z интерполируется.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от searchPoint до coordinate.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Плоскостное расстояние от начала inputLine, измеренное вдоль линии до coordinate. В линиях, где пути не соединяются, значение distanceAlong не включает расстояние промежутков между начальной и конечной вершинами путей.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - В случае, когда входными данными является линия, индекс пути, которому принадлежит coordinate.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Индекс (относительно пути) сегмента линии, которому принадлежит coordinate. Если coordinate представляет вершину входной линии, то segmentId вернет индекс предыдущей вершины. Если coordinate является первой вершиной inputLine, то значение сегмента будет равно 0."
4248
4192
  }
4249
4193
  },
4250
4194
  "parametersInfo": {
@@ -4654,6 +4598,62 @@
4654
4598
  }
4655
4599
  ]
4656
4600
  },
4601
+ {
4602
+ "id": "knowledge-graph_functions",
4603
+ "title": "Функции графа знаний",
4604
+ "items": [
4605
+ {
4606
+ "type": "function",
4607
+ "name": "knowledgegraphbyportalitem",
4608
+ "bundle": "knowledge-graph",
4609
+ "sinceVersion": "1.26",
4610
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
4611
+ "description": "Возвращает граф знаний на основе элемента портала.",
4612
+ "examples": "\n##### Пример\n\nВозвращает граф знаний на основе элемента портала.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
4613
+ "completion": {
4614
+ "label": "KnowledgeGraphByPortalItem",
4615
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
4616
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
4617
+ "insertTextMode": 2,
4618
+ "insertTextFormat": 2,
4619
+ "kind": 3,
4620
+ "documentation": {
4621
+ "kind": "markdown",
4622
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает граф знаний на основе элемента портала.\n\n**Параметры**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - Портал, с которого запрашиваются объекты.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - GUID элемента портала, ссылающегося на сервис графа знаний. _Это значение должно быть текстовым литералом._\n\n**Возвращаемое значение**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
4623
+ }
4624
+ },
4625
+ "parametersInfo": {
4626
+ "min": 2,
4627
+ "max": 2
4628
+ }
4629
+ },
4630
+ {
4631
+ "type": "function",
4632
+ "name": "querygraph",
4633
+ "bundle": "knowledge-graph",
4634
+ "sinceVersion": "1.26",
4635
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
4636
+ "description": "Запрашивает граф знаний с помощью запроса openCypher и возвращает набор сущностей и связей в графе, а также их свойства.",
4637
+ "examples": "\n##### Примеры\n\nЗапрашивает граф знаний для получения информации о содержащихся в нем объектах Student.\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Запрашивает граф знаний, используя параметры привязки.\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",
4638
+ "completion": {
4639
+ "label": "QueryGraph",
4640
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
4641
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
4642
+ "insertTextMode": 2,
4643
+ "insertTextFormat": 2,
4644
+ "kind": 3,
4645
+ "documentation": {
4646
+ "kind": "markdown",
4647
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nЗапрашивает граф знаний с помощью запроса openCypher и возвращает набор сущностей и связей в графе, а также их свойства.\n\n**Параметры**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - Граф знаний для осуществления запросов.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Запрос openCypher, который будет выполнен к графу знаний.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Словарь именованных параметров запроса для запроса openCypher. Имена параметров или ключи в словаре чувствительны к регистру. Принимаемые параметры зависят от внешнего хранилища графов и могут иметь тип: `Array`, `Date`, `Dictionary`, `Geometry`, `Number`, `Text`.\n\n**Возвращаемое значение**: Array"
4648
+ }
4649
+ },
4650
+ "parametersInfo": {
4651
+ "min": 2,
4652
+ "max": 3
4653
+ }
4654
+ }
4655
+ ]
4656
+ },
4657
4657
  {
4658
4658
  "id": "date_functions",
4659
4659
  "title": "Функции дат",
@@ -4890,7 +4890,7 @@
4890
4890
  "bundle": "core",
4891
4891
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
4892
4892
  "description": "Вычитает две даты и возвращает разницу в указанных единицах.",
4893
- "examples": "\n##### Примеры\n\nВычитает две даты и возвращает возраст\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",
4893
+ "examples": "\n##### Примеры\n\nВычитает две даты и возвращает возраст\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nВычитает две даты и возвращает разницу.\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",
4894
4894
  "completion": {
4895
4895
  "label": "DateDiff",
4896
4896
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -5925,8 +5925,8 @@
5925
5925
  "bundle": "core",
5926
5926
  "sinceVersion": "1.26",
5927
5927
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
5928
- "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.",
5929
- "examples": "\n##### Примеры\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",
5928
+ "description": "Возвращает заданное значение по умолчанию, если индекс в массиве не существует или значение заданного индекса равно null или является пустым текстовым значением.",
5929
+ "examples": "\n##### Примеры\n\nМассив со значением по заданному индексу\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nМассив без значения по заданному индексу\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nМассив со значением null по заданному индексу\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
5930
5930
  "completion": {
5931
5931
  "label": "DefaultValue",
5932
5932
  "detail": "DefaultValue(container, index, defaultValue) -> Any",
@@ -5936,7 +5936,7 @@
5936
5936
  "kind": 3,
5937
5937
  "documentation": {
5938
5938
  "kind": "markdown",
5939
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [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`."
5939
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает заданное значение по умолчанию, если индекс в массиве не существует или значение заданного индекса равно null или является пустым текстовым значением.\n\n**Параметры**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Входной массив на проверку.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Индекс на проверку.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если индекс не существует или значение указанного индекса равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по указанному индексу, если он задан. В противном случае возвращает значение, указанное в `defaultValue`."
5940
5940
  }
5941
5941
  },
5942
5942
  "parametersInfo": {
@@ -5949,8 +5949,8 @@
5949
5949
  "name": "defaultvalue",
5950
5950
  "bundle": "core",
5951
5951
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
5952
- "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.",
5953
- "examples": "\n##### Примеры\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",
5952
+ "description": "Проверяет, есть ли значение у индекса, вложенного на несколько уровней в многомерный массив, и возвращает это значение, если оно присутствует. В противном случае эта функция возвращает заданное значение по умолчанию, если хотя бы один из вложенных ключей или индексов не существует или значение указанного ключа или индекса равно null или является пустым текстовым значением. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения в каждом массиве.",
5953
+ "examples": "\n##### Примеры\n\nМассив со значением во вложенном индексе\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\nМассив без значения во вложенном индексе\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\nМассив без значения в родительском индексе\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nМассив словарей с вложенными значениями\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",
5954
5954
  "completion": {
5955
5955
  "label": "DefaultValue",
5956
5956
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -5960,7 +5960,7 @@
5960
5960
  "kind": 3,
5961
5961
  "documentation": {
5962
5962
  "kind": "markdown",
5963
- "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**Параметры**\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**Возвращаемое значение**: [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`."
5963
+ "value": "Проверяет, есть ли значение у индекса, вложенного на несколько уровней в многомерный массив, и возвращает это значение, если оно присутствует. В противном случае эта функция возвращает заданное значение по умолчанию, если хотя бы один из вложенных ключей или индексов не существует или значение указанного ключа или индекса равно null или является пустым текстовым значением. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения в каждом массиве.\n\n**Параметры**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Входной массив на проверку.\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)> - Массив ключей или индексов для проверки на каждом уровне структуры контейнера.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если хотя бы один из ключей или индексов не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по заданному ключу или индексу, если они определены. В противном случае возвращает значение, указанное в `defaultValue`."
5964
5964
  }
5965
5965
  },
5966
5966
  "parametersInfo": {
@@ -6127,8 +6127,8 @@
6127
6127
  "bundle": "core",
6128
6128
  "sinceVersion": "1.26",
6129
6129
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
6130
- "description": "Indicates whether an array has a value at the given index.",
6131
- "examples": "\n##### Примеры\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",
6130
+ "description": "Указывает, есть ли у массива значение в заданном индексе.",
6131
+ "examples": "\n##### Примеры\n\nМассив со значением в заданном индексе\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nМассив без значения в заданном индексе\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nМассив со значением null в заданном индексе\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
6132
6132
  "completion": {
6133
6133
  "label": "HasValue",
6134
6134
  "detail": "HasValue(inputArray, index) -> Boolean",
@@ -6138,7 +6138,7 @@
6138
6138
  "kind": 3,
6139
6139
  "documentation": {
6140
6140
  "kind": "markdown",
6141
- "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6141
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nУказывает, есть ли у массива значение в заданном индексе.\n\n**Параметры**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Массив на проверку.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Индекс на проверку.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6142
6142
  }
6143
6143
  },
6144
6144
  "parametersInfo": {
@@ -6152,8 +6152,8 @@
6152
6152
  "bundle": "core",
6153
6153
  "sinceVersion": "1.26",
6154
6154
  "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
6155
- "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.",
6156
- "examples": "\n##### Примеры\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",
6155
+ "description": "Проверяет, есть ли значение у индекса, вложенного на несколько уровней в многомерный массив. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения в каждом массиве. Возвращает true, если индексы на каждом уровне структуры существуют и содержат ненулевое значение.",
6156
+ "examples": "\n##### Примеры\n\nМассив со значением во вложенном индексе\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nМассив без значения во вложенном индексе\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nМассив без значения в родительском индексе\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nМассив словарей с вложенными значениями\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",
6157
6157
  "completion": {
6158
6158
  "label": "HasValue",
6159
6159
  "detail": "HasValue(inputArray, indexes) -> Boolean",
@@ -6163,7 +6163,7 @@
6163
6163
  "kind": 3,
6164
6164
  "documentation": {
6165
6165
  "kind": "markdown",
6166
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6166
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПроверяет, есть ли значение у индекса, вложенного на несколько уровней в многомерный массив. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения в каждом массиве. Возвращает true, если индексы на каждом уровне структуры существуют и содержат ненулевое значение.\n\n**Параметры**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - Массив на проверку.\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)> - Массив ключей или индексов для проверки на каждом уровне структуры.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
6167
6167
  }
6168
6168
  },
6169
6169
  "parametersInfo": {
@@ -7126,7 +7126,7 @@
7126
7126
  "sinceVersion": "1.7",
7127
7127
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
7128
7128
  "description": "Возвращает код связанного описания домена в объекте.",
7129
- "examples": "\n##### Пример\n\nпечатает описание домена для связанного поля.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
7129
+ "examples": "\n##### Пример\n\nпечатает код домена для указанного поля.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
7130
7130
  "completion": {
7131
7131
  "label": "DomainCode",
7132
7132
  "detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
@@ -7349,8 +7349,8 @@
7349
7349
  "bundle": "core",
7350
7350
  "sinceVersion": "1.20",
7351
7351
  "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
7352
- "description": "Indicates whether a feature has a given field and if that field has a value.",
7353
- "examples": "\n##### Пример\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",
7352
+ "description": "Указывает, имеет ли объект заданное поле и есть ли в этом поле значение.",
7353
+ "examples": "\n##### Пример\n\nВернуть false, если атрибут объекта не существует или пуст.\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",
7354
7354
  "completion": {
7355
7355
  "label": "HasValue",
7356
7356
  "detail": "HasValue(inputFeature, fieldName) -> Boolean",
@@ -7360,7 +7360,7 @@
7360
7360
  "kind": 3,
7361
7361
  "documentation": {
7362
7362
  "kind": "markdown",
7363
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7363
+ "value": "**[Начиная с версии 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nУказывает, имеет ли объект заданное поле и есть ли в этом поле значение.\n\n**Параметры**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Объект для проверки.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Имя поля для проверки.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7364
7364
  }
7365
7365
  },
7366
7366
  "parametersInfo": {
@@ -7481,8 +7481,8 @@
7481
7481
  "bundle": "core",
7482
7482
  "sinceVersion": "1.26",
7483
7483
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
7484
- "description": "Returns a specified default value if a key in a dictionary does not exist or the value at the specified key is `null` or an empty text value.",
7485
- "examples": "\n##### Примеры\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
7484
+ "description": "Возвращает указанное значение по умолчанию, если ключ в словаре не существует или значение указанного ключа равно null или является пустым текстовым значением.",
7485
+ "examples": "\n##### Примеры\n\nDefaultValue возвращает заданное значение.\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 возвращает значение по умолчанию, если для заданного ключа нет значения.\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 возвращает значение по умолчанию, если ключ не существует.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
7486
7486
  "completion": {
7487
7487
  "label": "DefaultValue",
7488
7488
  "detail": "DefaultValue(container, key, defaultValue) -> Any",
@@ -7492,7 +7492,7 @@
7492
7492
  "kind": 3,
7493
7493
  "documentation": {
7494
7494
  "kind": "markdown",
7495
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key if defined. Otherwise, returns the value specified in `defaultValue`."
7495
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nВозвращает указанное значение по умолчанию, если ключ в словаре не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Параметры**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Словарь или вложение для проверки.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ключ для проверки.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если ключ не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по заданному ключу, если он определен. В противном случае возвращает значение, указанное в `defaultValue`."
7496
7496
  }
7497
7497
  },
7498
7498
  "parametersInfo": {
@@ -7505,8 +7505,8 @@
7505
7505
  "name": "defaultvalue",
7506
7506
  "bundle": "core",
7507
7507
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
7508
- "description": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.",
7509
- "examples": "\n##### Примеры\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nCheck null value in an array within a dictionary with key that exists\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
7508
+ "description": "Возвращает указанное значение по умолчанию, если хотя бы один из ключей во вложенном словаре не существует или значение указанного ключа равно null или является пустым текстовым значением.",
7509
+ "examples": "\n##### Примеры\n\nDefaultValue возвращает заданное значение.\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 возвращает значение по умолчанию, если для заданного ключа нет значения.\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 возвращает значение по умолчанию, если ключ не существует.\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\nПроверьте нулевое значение в массиве в словаре с существующим ключом\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
7510
7510
  "completion": {
7511
7511
  "label": "DefaultValue",
7512
7512
  "detail": "DefaultValue(container, keys, defaultValue) -> Any",
@@ -7516,7 +7516,7 @@
7516
7516
  "kind": 3,
7517
7517
  "documentation": {
7518
7518
  "kind": "markdown",
7519
- "value": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.\n\n**Параметры**\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**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
7519
+ "value": "Возвращает указанное значение по умолчанию, если хотя бы один из ключей во вложенном словаре не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Параметры**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Словарь или вложение для проверки.\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)> - Массив ключей или индексов для проверки на каждом уровне структуры контейнера.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - Это значение возвращается, если хотя бы один из ключей или индексов не существует или значение указанного ключа равно null или является пустым текстовым значением.\n\n**Возвращаемое значение**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nВозвращает значение по заданному ключу или индексу, если они определены. В противном случае возвращает значение, указанное в `defaultValue`."
7520
7520
  }
7521
7521
  },
7522
7522
  "parametersInfo": {
@@ -7707,8 +7707,8 @@
7707
7707
  "bundle": "core",
7708
7708
  "sinceVersion": "1.20",
7709
7709
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
7710
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
7711
- "examples": "\n##### Примеры\n\nDictionary with key that has a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nDictionary with key that does not have a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
7710
+ "description": "Указывает, есть ли у словаря заданный ключ и имеет ли этот ключ значение.",
7711
+ "examples": "\n##### Примеры\n\nСловарь с ключом, у которого есть значение\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nСловарь с ключом, у которого нет значения\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nСловарь без заданного ключа\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nСловарь без заданного ключа\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
7712
7712
  "completion": {
7713
7713
  "label": "HasValue",
7714
7714
  "detail": "HasValue(inputDictionary, key) -> Boolean",
@@ -7718,7 +7718,7 @@
7718
7718
  "kind": 3,
7719
7719
  "documentation": {
7720
7720
  "kind": "markdown",
7721
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7721
+ "value": "**[Начиная с версии 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nУказывает, есть ли у словаря заданный ключ и имеет ли этот ключ значение.\n\n**Параметры**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Словарь или вложение для проверки.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ключ или имя поля для проверки его наличия.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7722
7722
  }
7723
7723
  },
7724
7724
  "parametersInfo": {
@@ -7732,8 +7732,8 @@
7732
7732
  "bundle": "core",
7733
7733
  "sinceVersion": "1.26",
7734
7734
  "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
7735
- "description": "Checks whether a property nested several levels deep in a dictionary has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.",
7736
- "examples": "\n##### Примеры\n\nCheck dictionary with key that has a nested value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nCheck value in a dictionary with key that does not exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nCheck value in an array within a dictionary with key that does exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
7735
+ "description": "Проверяет, имеет ли значение свойство, вложенное на несколько уровней в словарь. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения на каждом уровне. Возвращает true, если ключи и индексы на каждом уровне структуры существуют и содержат ненулевое значение.",
7736
+ "examples": "\n##### Примеры\n\nПроверить словарь с ключом, имеющим вложенное значение\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\nПроверить значение в словаре с несуществующим ключом\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\nПроверить значение в массиве в словаре с помощью существующего ключа\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
7737
7737
  "completion": {
7738
7738
  "label": "HasValue",
7739
7739
  "detail": "HasValue(inputDictionary, keys) -> Boolean",
@@ -7743,7 +7743,7 @@
7743
7743
  "kind": 3,
7744
7744
  "documentation": {
7745
7745
  "kind": "markdown",
7746
- "value": "**[Начиная с версии 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**Параметры**\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**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7746
+ "value": "**[Начиная с версии 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПроверяет, имеет ли значение свойство, вложенное на несколько уровней в словарь. Это позволяет вам детализировать вложенную структуру за один шаг, а не проверять значения на каждом уровне. Возвращает true, если ключи и индексы на каждом уровне структуры существуют и содержат ненулевое значение.\n\n**Параметры**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - Словарь или вложение для проверки.\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; - Массив ключей или индексов для проверки на каждом уровне структуры.\n\n**Возвращаемое значение**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
7747
7747
  }
7748
7748
  },
7749
7749
  "parametersInfo": {