@arcgis/coding-components 4.29.0-beta.11 → 4.29.0-beta.111

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 (404) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +6 -2
  3. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +6 -1
  4. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ar.json +8 -8
  5. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bg.json +8 -8
  6. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bs.json +8 -8
  7. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +8 -8
  8. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.cs.json +8 -8
  9. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.da.json +8 -8
  10. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.de.json +8 -8
  11. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.el.json +8 -8
  12. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.en.json +8 -8
  13. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.es.json +8 -8
  14. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.et.json +8 -8
  15. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fi.json +8 -8
  16. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fr.json +8 -8
  17. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.he.json +8 -8
  18. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hr.json +8 -8
  19. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hu.json +8 -8
  20. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.id.json +8 -8
  21. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.it.json +8 -8
  22. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ja.json +8 -8
  23. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ko.json +8 -8
  24. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lt.json +8 -8
  25. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lv.json +8 -8
  26. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nb.json +8 -8
  27. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nl.json +8 -8
  28. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pl.json +8 -8
  29. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-BR.json +8 -8
  30. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-PT.json +8 -8
  31. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ro.json +8 -8
  32. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ru.json +8 -8
  33. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sk.json +8 -8
  34. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sl.json +8 -8
  35. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sr.json +8 -8
  36. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sv.json +8 -8
  37. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.th.json +8 -8
  38. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.tr.json +8 -8
  39. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.uk.json +8 -8
  40. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.vi.json +8 -8
  41. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-CN.json +8 -8
  42. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-HK.json +8 -8
  43. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-TW.json +8 -8
  44. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ar.json +8 -8
  45. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bg.json +8 -8
  46. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bs.json +8 -8
  47. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ca.json +8 -8
  48. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.cs.json +8 -8
  49. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.da.json +8 -8
  50. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.de.json +8 -8
  51. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.el.json +8 -8
  52. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.en.json +8 -8
  53. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.es.json +8 -8
  54. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.et.json +8 -8
  55. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fi.json +8 -8
  56. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fr.json +8 -8
  57. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.he.json +8 -8
  58. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hr.json +8 -8
  59. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hu.json +8 -8
  60. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.id.json +8 -8
  61. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.it.json +8 -8
  62. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ja.json +8 -8
  63. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ko.json +8 -8
  64. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lt.json +8 -8
  65. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lv.json +8 -8
  66. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nb.json +8 -8
  67. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nl.json +8 -8
  68. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pl.json +8 -8
  69. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-BR.json +8 -8
  70. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-PT.json +8 -8
  71. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ro.json +8 -8
  72. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ru.json +8 -8
  73. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sk.json +8 -8
  74. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sl.json +8 -8
  75. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sr.json +8 -8
  76. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sv.json +8 -8
  77. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.th.json +8 -8
  78. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.tr.json +8 -8
  79. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.uk.json +8 -8
  80. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.vi.json +8 -8
  81. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-CN.json +8 -8
  82. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-HK.json +8 -8
  83. package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-TW.json +8 -8
  84. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +492 -27
  85. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +492 -27
  86. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +492 -27
  87. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +492 -27
  88. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +492 -27
  89. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +492 -27
  90. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +492 -27
  91. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +492 -27
  92. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +492 -27
  93. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +492 -27
  94. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +492 -27
  95. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +492 -27
  96. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +492 -27
  97. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +492 -27
  98. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +492 -27
  99. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +492 -27
  100. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +492 -27
  101. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +492 -27
  102. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +492 -27
  103. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +492 -27
  104. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +492 -27
  105. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +492 -27
  106. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +492 -27
  107. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +492 -27
  108. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +492 -27
  109. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +492 -27
  110. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +492 -27
  111. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +492 -27
  112. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +492 -27
  113. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +492 -27
  114. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +492 -27
  115. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +492 -27
  116. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +492 -27
  117. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +492 -27
  118. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +492 -27
  119. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +492 -27
  120. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +492 -27
  121. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +492 -27
  122. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +492 -27
  123. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +492 -27
  124. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +14 -2
  125. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +14 -2
  126. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +14 -2
  127. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +14 -2
  128. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +14 -2
  129. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +14 -2
  130. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +14 -2
  131. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +14 -2
  132. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +14 -2
  133. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +14 -2
  134. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +14 -2
  135. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +14 -2
  136. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +14 -2
  137. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +14 -2
  138. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +14 -2
  139. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +14 -2
  140. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +14 -2
  141. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +14 -2
  142. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +14 -2
  143. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +14 -2
  144. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +14 -2
  145. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +14 -2
  146. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +14 -2
  147. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +14 -2
  148. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +14 -2
  149. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +14 -2
  150. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +14 -2
  151. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +14 -2
  152. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +14 -2
  153. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +14 -2
  154. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +14 -2
  155. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +14 -2
  156. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +14 -2
  157. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +14 -2
  158. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +14 -2
  159. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +14 -2
  160. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +14 -2
  161. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +14 -2
  162. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +14 -2
  163. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +14 -2
  164. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ar.json +13 -13
  165. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bg.json +13 -13
  166. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bs.json +13 -13
  167. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +13 -13
  168. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.cs.json +13 -13
  169. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.da.json +13 -13
  170. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +13 -13
  171. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.el.json +13 -13
  172. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.en.json +13 -13
  173. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.es.json +13 -13
  174. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.et.json +13 -13
  175. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fi.json +13 -13
  176. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fr.json +13 -13
  177. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +13 -13
  178. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hr.json +13 -13
  179. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hu.json +13 -13
  180. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.id.json +13 -13
  181. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.it.json +13 -13
  182. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ja.json +13 -13
  183. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ko.json +13 -13
  184. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lt.json +13 -13
  185. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lv.json +13 -13
  186. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nb.json +13 -13
  187. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nl.json +13 -13
  188. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pl.json +13 -13
  189. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-BR.json +13 -13
  190. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-PT.json +13 -13
  191. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ro.json +13 -13
  192. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ru.json +13 -13
  193. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sk.json +13 -13
  194. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sl.json +13 -13
  195. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sr.json +13 -13
  196. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sv.json +13 -13
  197. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.th.json +13 -13
  198. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.tr.json +13 -13
  199. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.uk.json +13 -13
  200. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.vi.json +13 -13
  201. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-CN.json +13 -13
  202. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-HK.json +13 -13
  203. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-TW.json +13 -13
  204. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ar.json +6 -6
  205. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bg.json +6 -6
  206. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bs.json +6 -6
  207. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ca.json +6 -6
  208. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.cs.json +6 -6
  209. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.da.json +6 -6
  210. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.de.json +6 -6
  211. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.el.json +6 -6
  212. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.en.json +6 -6
  213. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.es.json +6 -6
  214. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.et.json +6 -6
  215. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fi.json +6 -6
  216. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fr.json +6 -6
  217. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.he.json +6 -6
  218. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hr.json +6 -6
  219. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hu.json +6 -6
  220. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.id.json +6 -6
  221. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.it.json +6 -6
  222. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ja.json +6 -6
  223. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ko.json +6 -6
  224. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lt.json +6 -6
  225. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lv.json +6 -6
  226. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nb.json +6 -6
  227. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nl.json +6 -6
  228. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pl.json +6 -6
  229. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-BR.json +6 -6
  230. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-PT.json +6 -6
  231. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ro.json +6 -6
  232. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ru.json +6 -6
  233. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sk.json +6 -6
  234. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sl.json +6 -6
  235. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sr.json +6 -6
  236. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sv.json +6 -6
  237. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.th.json +6 -6
  238. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.tr.json +6 -6
  239. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.uk.json +6 -6
  240. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.vi.json +6 -6
  241. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-CN.json +6 -6
  242. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-HK.json +6 -6
  243. package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-TW.json +6 -6
  244. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ar.json +8 -8
  245. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bg.json +8 -8
  246. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bs.json +8 -8
  247. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +8 -8
  248. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.cs.json +8 -8
  249. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.da.json +8 -8
  250. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.de.json +8 -8
  251. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.el.json +8 -8
  252. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.en.json +8 -8
  253. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.es.json +8 -8
  254. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.et.json +8 -8
  255. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fi.json +8 -8
  256. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fr.json +8 -8
  257. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.he.json +8 -8
  258. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hr.json +8 -8
  259. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hu.json +8 -8
  260. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.id.json +8 -8
  261. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +8 -8
  262. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ja.json +8 -8
  263. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ko.json +8 -8
  264. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lt.json +8 -8
  265. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lv.json +8 -8
  266. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nb.json +8 -8
  267. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nl.json +8 -8
  268. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pl.json +8 -8
  269. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-BR.json +8 -8
  270. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-PT.json +8 -8
  271. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ro.json +8 -8
  272. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ru.json +8 -8
  273. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sk.json +8 -8
  274. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sl.json +8 -8
  275. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sr.json +8 -8
  276. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sv.json +8 -8
  277. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.th.json +8 -8
  278. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.tr.json +8 -8
  279. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.uk.json +8 -8
  280. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.vi.json +8 -8
  281. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-CN.json +8 -8
  282. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-HK.json +8 -8
  283. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-TW.json +8 -8
  284. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +30 -31
  285. package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +30 -34
  286. package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +7 -8
  287. package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +18 -20
  288. package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +21 -22
  289. package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +79 -80
  290. package/dist/arcgis-coding-components/index.esm.js +6 -1
  291. package/dist/arcgis-coding-components/p-048612c6.js +7 -0
  292. package/dist/arcgis-coding-components/p-1d4f926f.js +6 -0
  293. package/dist/arcgis-coding-components/{p-443fe20e.js → p-4344b240.js} +7 -2
  294. package/dist/arcgis-coding-components/{p-9a164b63.js → p-43b95b3a.js} +8 -3
  295. package/dist/arcgis-coding-components/{p-cfff9500.js → p-5ca96f1c.js} +6 -1
  296. package/dist/arcgis-coding-components/{p-9dd33d3e.js → p-6f61a758.js} +7 -2
  297. package/dist/arcgis-coding-components/p-9c1279fa.js +68 -0
  298. package/dist/arcgis-coding-components/p-be21051e.entry.js +6 -0
  299. package/dist/arcgis-coding-components/{p-ff06e912.js → p-daef9c50.js} +7 -2
  300. package/dist/arcgis-coding-components/{p-b83db734.js → p-dfb57db2.js} +7 -2
  301. package/dist/arcgis-coding-components/{p-b3500466.js → p-e5c84ef0.js} +7 -2
  302. package/dist/arcgis-coding-components/{p-310f0408.js → p-e625cdc1.js} +7 -2
  303. package/dist/cjs/{arcade-defaults-e128d6d9.js → arcade-defaults-4a4ff48e.js} +13204 -11292
  304. package/dist/cjs/arcade-mode-e8a048dc.js +604 -0
  305. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1484 -1408
  306. package/dist/cjs/arcgis-coding-components.cjs.js +8 -3
  307. package/dist/cjs/{css-7229b372.js → css-66caa3cb.js} +6 -1
  308. package/dist/cjs/{cssMode-8c1d563a.js → cssMode-82651023.js} +8 -3
  309. package/dist/cjs/{html-ead03bbb.js → html-2c47fd86.js} +8 -3
  310. package/dist/cjs/{htmlMode-5e1a0115.js → htmlMode-9582a9b2.js} +8 -3
  311. package/dist/cjs/{index-f8a85eb8.js → index-7156ebfa.js} +395 -101
  312. package/dist/cjs/index.cjs.js +7 -2
  313. package/dist/cjs/{javascript-3fe2de06.js → javascript-f35b0dc5.js} +9 -4
  314. package/dist/cjs/{jsonMode-8b4b19f9.js → jsonMode-632b6048.js} +8 -3
  315. package/dist/cjs/loader.cjs.js +8 -12
  316. package/dist/cjs/{tsMode-b9491227.js → tsMode-c6f1ab1f.js} +8 -3
  317. package/dist/cjs/{typescript-524fddbc.js → typescript-9e1f35cb.js} +8 -3
  318. package/dist/components/arcade-api.js +170 -162
  319. package/dist/components/arcade-contribution.js +75 -65
  320. package/dist/components/arcade-defaults.js +1425 -1270
  321. package/dist/components/arcade-mode.js +521 -515
  322. package/dist/components/arcade-results.js +479 -426
  323. package/dist/components/arcade-suggestions.js +138 -131
  324. package/dist/components/arcade-variables.js +167 -153
  325. package/dist/components/arcgis-arcade-api.d.ts +2 -2
  326. package/dist/components/arcgis-arcade-api.js +5 -0
  327. package/dist/components/arcgis-arcade-editor.d.ts +2 -2
  328. package/dist/components/arcgis-arcade-editor.js +413 -387
  329. package/dist/components/arcgis-arcade-results.d.ts +2 -2
  330. package/dist/components/arcgis-arcade-results.js +5 -0
  331. package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
  332. package/dist/components/arcgis-arcade-suggestions.js +5 -0
  333. package/dist/components/arcgis-arcade-variables.d.ts +2 -2
  334. package/dist/components/arcgis-arcade-variables.js +5 -0
  335. package/dist/components/arcgis-code-editor.d.ts +2 -2
  336. package/dist/components/arcgis-code-editor.js +5 -0
  337. package/dist/components/code-editor.js +255 -250
  338. package/dist/components/fields.js +104 -77
  339. package/dist/components/functional-components.js +6 -1
  340. package/dist/components/index.d.ts +5 -8
  341. package/dist/components/index.js +6 -7
  342. package/dist/components/index2.js +7 -2
  343. package/dist/components/markdown.js +33 -28
  344. package/dist/components/utilities.js +26 -21
  345. package/dist/esm/{arcade-defaults-a34c2e51.js → arcade-defaults-0f350eac.js} +13196 -11284
  346. package/dist/esm/arcade-mode-e87281c6.js +600 -0
  347. package/dist/esm/arcgis-arcade-api_6.entry.js +1484 -1408
  348. package/dist/esm/arcgis-coding-components.js +9 -4
  349. package/dist/esm/{css-ff1e9f8c.js → css-368560db.js} +6 -1
  350. package/dist/esm/{cssMode-cb48c437.js → cssMode-9c59d807.js} +8 -3
  351. package/dist/esm/{html-e7c0bd60.js → html-1ffd663e.js} +8 -3
  352. package/dist/esm/{htmlMode-46638b7f.js → htmlMode-341ef75a.js} +8 -3
  353. package/dist/esm/{index-d4ec142a.js → index-585dc89e.js} +395 -101
  354. package/dist/esm/index.js +7 -2
  355. package/dist/esm/{javascript-2229cd63.js → javascript-91416769.js} +9 -4
  356. package/dist/esm/{jsonMode-08a2f0d2.js → jsonMode-ccf7e27b.js} +8 -3
  357. package/dist/esm/loader.js +8 -12
  358. package/dist/esm/{tsMode-46d0d8e8.js → tsMode-45a0fdf5.js} +8 -3
  359. package/dist/esm/{typescript-88a09694.js → typescript-7ab173c1.js} +8 -3
  360. package/dist/loader/cdn.js +5 -1
  361. package/dist/loader/index.cjs.js +5 -1
  362. package/dist/loader/index.d.ts +2 -2
  363. package/dist/loader/index.es2017.js +5 -1
  364. package/dist/loader/index.js +5 -1
  365. package/dist/types/components/arcade-api/arcade-api.d.ts +42 -41
  366. package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
  367. package/dist/types/components/arcade-editor/arcade-editor.d.ts +129 -133
  368. package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
  369. package/dist/types/components/arcade-results/arcade-results.d.ts +46 -50
  370. package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
  371. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +37 -36
  372. package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
  373. package/dist/types/components/arcade-variables/arcade-variables.d.ts +42 -42
  374. package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
  375. package/dist/types/components/code-editor/code-editor.d.ts +74 -74
  376. package/dist/types/components.d.ts +87 -12
  377. package/dist/types/index.d.ts +1 -1
  378. package/dist/types/stencil-public-runtime.d.ts +61 -17
  379. package/dist/types/utils/arcade-executor.d.ts +89 -81
  380. package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +1 -1
  381. package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +69 -68
  382. package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +27 -26
  383. package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +10 -10
  384. package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +9 -8
  385. package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +11 -11
  386. package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +16 -14
  387. package/dist/types/utils/arcade-monaco/types.d.ts +31 -33
  388. package/dist/types/utils/colorize.d.ts +1 -1
  389. package/dist/types/utils/editor-suggestions.d.ts +24 -24
  390. package/dist/types/utils/fields.d.ts +1 -0
  391. package/dist/types/utils/functional-components.d.ts +2 -2
  392. package/dist/types/utils/markdown.d.ts +1 -1
  393. package/dist/types/utils/profile/editor-profile.d.ts +187 -196
  394. package/dist/types/utils/profile/types.d.ts +230 -109
  395. package/dist/types/utils/profile/utils.d.ts +31 -14
  396. package/dist/types/utils/utilities.d.ts +2 -2
  397. package/package.json +26 -42
  398. package/dist/arcgis-coding-components/p-0fa0a06d.js +0 -2
  399. package/dist/arcgis-coding-components/p-1b0246cd.entry.js +0 -1
  400. package/dist/arcgis-coding-components/p-236ce4a1.js +0 -62
  401. package/dist/arcgis-coding-components/p-3664ab2a.js +0 -1
  402. package/dist/cjs/arcade-mode-8bf7a14b.js +0 -598
  403. package/dist/esm/arcade-mode-c5a69066.js +0 -594
  404. package/dist/esm/polyfills/css-shim.js +0 -1
@@ -300,6 +300,57 @@
300
300
  "max": 1
301
301
  }
302
302
  },
303
+ [
304
+ {
305
+ "type": "function",
306
+ "name": "defaultvalue",
307
+ "bundle": "core",
308
+ "sinceVersion": "1.26",
309
+ "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
310
+ "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.",
311
+ "examples": "\n##### Examples\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",
312
+ "completion": {
313
+ "label": "DefaultValue",
314
+ "detail": "DefaultValue(container, index, defaultValue) -> Any",
315
+ "insertText": "DefaultValue(${1:container_}, ${2:index_}, ${3:defaultValue_})$0",
316
+ "insertTextMode": 2,
317
+ "insertTextFormat": 2,
318
+ "kind": 3,
319
+ "documentation": {
320
+ "kind": "markdown",
321
+ "value": "**[Since version 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**Parameters**\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**Return value**: [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`."
322
+ }
323
+ },
324
+ "parametersInfo": {
325
+ "min": 3,
326
+ "max": 3
327
+ }
328
+ },
329
+ {
330
+ "type": "function",
331
+ "name": "defaultvalue",
332
+ "bundle": "core",
333
+ "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
334
+ "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.",
335
+ "examples": "\n##### Examples\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",
336
+ "completion": {
337
+ "label": "DefaultValue",
338
+ "detail": "DefaultValue(container, keys, defaultValue) -> Any",
339
+ "insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
340
+ "insertTextMode": 2,
341
+ "insertTextFormat": 2,
342
+ "kind": 3,
343
+ "documentation": {
344
+ "kind": "markdown",
345
+ "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**Parameters**\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**Return value**: [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`."
346
+ }
347
+ },
348
+ "parametersInfo": {
349
+ "min": 3,
350
+ "max": 3
351
+ }
352
+ }
353
+ ],
303
354
  [
304
355
  {
305
356
  "type": "function",
@@ -451,6 +502,58 @@
451
502
  "max": 1
452
503
  }
453
504
  },
505
+ [
506
+ {
507
+ "type": "function",
508
+ "name": "hasvalue",
509
+ "bundle": "core",
510
+ "sinceVersion": "1.26",
511
+ "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
512
+ "description": "Indicates whether an array has a value at the given index.",
513
+ "examples": "\n##### Examples\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",
514
+ "completion": {
515
+ "label": "HasValue",
516
+ "detail": "HasValue(inputArray, index) -> Boolean",
517
+ "insertText": "HasValue(${1:inputArray_}, ${2:index_})$0",
518
+ "insertTextMode": 2,
519
+ "insertTextFormat": 2,
520
+ "kind": 3,
521
+ "documentation": {
522
+ "kind": "markdown",
523
+ "value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
524
+ }
525
+ },
526
+ "parametersInfo": {
527
+ "min": 2,
528
+ "max": 2
529
+ }
530
+ },
531
+ {
532
+ "type": "function",
533
+ "name": "hasvalue",
534
+ "bundle": "core",
535
+ "sinceVersion": "1.26",
536
+ "link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
537
+ "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.",
538
+ "examples": "\n##### Examples\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",
539
+ "completion": {
540
+ "label": "HasValue",
541
+ "detail": "HasValue(inputArray, indexes) -> Boolean",
542
+ "insertText": "HasValue(${1:inputArray_}, ${2:indexes_})$0",
543
+ "insertTextMode": 2,
544
+ "insertTextFormat": 2,
545
+ "kind": 3,
546
+ "documentation": {
547
+ "kind": "markdown",
548
+ "value": "**[Since version 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**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
549
+ }
550
+ },
551
+ "parametersInfo": {
552
+ "min": 2,
553
+ "max": 2
554
+ }
555
+ }
556
+ ],
454
557
  {
455
558
  "type": "function",
456
559
  "name": "includes",
@@ -1036,7 +1139,7 @@
1036
1139
  "bundle": "core",
1037
1140
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1038
1141
  "description": "Subtracts two Dates, and returns the difference in the specified units.",
1039
- "examples": "\n##### Examples\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1142
+ "examples": "\n##### Examples\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts 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",
1040
1143
  "completion": {
1041
1144
  "label": "DateDiff",
1042
1145
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -1968,6 +2071,57 @@
1968
2071
  "id": "dictionary_functions",
1969
2072
  "title": "Dictionary functions",
1970
2073
  "items": [
2074
+ [
2075
+ {
2076
+ "type": "function",
2077
+ "name": "defaultvalue",
2078
+ "bundle": "core",
2079
+ "sinceVersion": "1.26",
2080
+ "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
2081
+ "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.",
2082
+ "examples": "\n##### Examples\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",
2083
+ "completion": {
2084
+ "label": "DefaultValue",
2085
+ "detail": "DefaultValue(container, key, defaultValue) -> Any",
2086
+ "insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
2087
+ "insertTextMode": 2,
2088
+ "insertTextFormat": 2,
2089
+ "kind": 3,
2090
+ "documentation": {
2091
+ "kind": "markdown",
2092
+ "value": "**[Since version 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**Parameters**\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**Return value**: [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`."
2093
+ }
2094
+ },
2095
+ "parametersInfo": {
2096
+ "min": 3,
2097
+ "max": 3
2098
+ }
2099
+ },
2100
+ {
2101
+ "type": "function",
2102
+ "name": "defaultvalue",
2103
+ "bundle": "core",
2104
+ "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
2105
+ "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.",
2106
+ "examples": "\n##### Examples\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",
2107
+ "completion": {
2108
+ "label": "DefaultValue",
2109
+ "detail": "DefaultValue(container, keys, defaultValue) -> Any",
2110
+ "insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
2111
+ "insertTextMode": 2,
2112
+ "insertTextFormat": 2,
2113
+ "kind": 3,
2114
+ "documentation": {
2115
+ "kind": "markdown",
2116
+ "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**Parameters**\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**Return value**: [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`."
2117
+ }
2118
+ },
2119
+ "parametersInfo": {
2120
+ "min": 3,
2121
+ "max": 3
2122
+ }
2123
+ }
2124
+ ],
1971
2125
  [
1972
2126
  {
1973
2127
  "type": "function",
@@ -2143,31 +2297,58 @@
2143
2297
  "max": 2
2144
2298
  }
2145
2299
  },
2146
- {
2147
- "type": "function",
2148
- "name": "hasvalue",
2149
- "bundle": "core",
2150
- "sinceVersion": "1.20",
2151
- "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue",
2152
- "description": "Indicates whether a dictionary has a given key and if that key has a value.",
2153
- "examples": "\n##### Examples\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",
2154
- "completion": {
2155
- "label": "HasValue",
2156
- "detail": "HasValue(inputDictionary, key) -> Boolean",
2157
- "insertText": "HasValue(${1:inputDictionary_}, ${2:key_})$0",
2158
- "insertTextMode": 2,
2159
- "insertTextFormat": 2,
2160
- "kind": 3,
2161
- "documentation": {
2162
- "kind": "markdown",
2163
- "value": "**[Since version 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**Parameters**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The dictionary or feature to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or field name to check.\n\n**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2300
+ [
2301
+ {
2302
+ "type": "function",
2303
+ "name": "hasvalue",
2304
+ "bundle": "core",
2305
+ "sinceVersion": "1.20",
2306
+ "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
2307
+ "description": "Indicates whether a dictionary has a given key and if that key has a value.",
2308
+ "examples": "\n##### Examples\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",
2309
+ "completion": {
2310
+ "label": "HasValue",
2311
+ "detail": "HasValue(inputDictionary, key) -> Boolean",
2312
+ "insertText": "HasValue(${1:inputDictionary_}, ${2:key_})$0",
2313
+ "insertTextMode": 2,
2314
+ "insertTextFormat": 2,
2315
+ "kind": 3,
2316
+ "documentation": {
2317
+ "kind": "markdown",
2318
+ "value": "**[Since version 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**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2319
+ }
2320
+ },
2321
+ "parametersInfo": {
2322
+ "min": 2,
2323
+ "max": 2
2164
2324
  }
2165
2325
  },
2166
- "parametersInfo": {
2167
- "min": 2,
2168
- "max": 2
2326
+ {
2327
+ "type": "function",
2328
+ "name": "hasvalue",
2329
+ "bundle": "core",
2330
+ "sinceVersion": "1.26",
2331
+ "link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
2332
+ "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.",
2333
+ "examples": "\n##### Examples\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",
2334
+ "completion": {
2335
+ "label": "HasValue",
2336
+ "detail": "HasValue(inputDictionary, keys) -> Boolean",
2337
+ "insertText": "HasValue(${1:inputDictionary_}, ${2:keys_})$0",
2338
+ "insertTextMode": 2,
2339
+ "insertTextFormat": 2,
2340
+ "kind": 3,
2341
+ "documentation": {
2342
+ "kind": "markdown",
2343
+ "value": "**[Since version 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**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2344
+ }
2345
+ },
2346
+ "parametersInfo": {
2347
+ "min": 2,
2348
+ "max": 2
2349
+ }
2169
2350
  }
2170
- }
2351
+ ]
2171
2352
  ]
2172
2353
  },
2173
2354
  {
@@ -2454,6 +2635,31 @@
2454
2635
  "max": 1
2455
2636
  }
2456
2637
  },
2638
+ {
2639
+ "type": "function",
2640
+ "name": "hasvalue",
2641
+ "bundle": "core",
2642
+ "sinceVersion": "1.20",
2643
+ "link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
2644
+ "description": "Indicates whether a feature has a given field and if that field has a value.",
2645
+ "examples": "\n##### Example\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",
2646
+ "completion": {
2647
+ "label": "HasValue",
2648
+ "detail": "HasValue(inputFeature, fieldName) -> Boolean",
2649
+ "insertText": "HasValue(${1:inputFeature_}, ${2:fieldName_})$0",
2650
+ "insertTextMode": 2,
2651
+ "insertTextFormat": 2,
2652
+ "kind": 3,
2653
+ "documentation": {
2654
+ "kind": "markdown",
2655
+ "value": "**[Since version 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**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
2656
+ }
2657
+ },
2658
+ "parametersInfo": {
2659
+ "min": 2,
2660
+ "max": 2
2661
+ }
2662
+ },
2457
2663
  {
2458
2664
  "type": "function",
2459
2665
  "name": "schema",
@@ -3060,6 +3266,31 @@
3060
3266
  "max": 2
3061
3267
  }
3062
3268
  },
3269
+ {
3270
+ "type": "function",
3271
+ "name": "filterbysubtypecode",
3272
+ "bundle": "data-access",
3273
+ "sinceVersion": "1.25",
3274
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
3275
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
3276
+ "examples": "\n##### Example\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
3277
+ "completion": {
3278
+ "label": "FilterBySubtypeCode",
3279
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
3280
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
3281
+ "insertTextMode": 2,
3282
+ "insertTextFormat": 2,
3283
+ "kind": 3,
3284
+ "documentation": {
3285
+ "kind": "markdown",
3286
+ "value": "**[Since version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parameters**\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**Return value**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
3287
+ }
3288
+ },
3289
+ "parametersInfo": {
3290
+ "min": 2,
3291
+ "max": 2
3292
+ }
3293
+ },
3063
3294
  {
3064
3295
  "type": "function",
3065
3296
  "name": "first",
@@ -3293,7 +3524,7 @@
3293
3524
  "sinceVersion": "1.14",
3294
3525
  "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d",
3295
3526
  "description": "Returns the planar (i.e. Cartesian) length of the input FeatureSet taking height or Z information into account. The geometry provided to this function must be assigned a projected coordinate system. If the spatial reference does not provide a value for Z units, then the result will be returned in meters. Keep in mind that not all clients (such as the 3.x series of the ArcGIS API for JavaScript) support requesting Z values even when the data contains Z information.\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._",
3296
- "examples": "\n##### Example\n\nReturns the 3D length of the layer's features in meters\n\n```arcade\nLength($layer, 'meters')\n```\n\n",
3527
+ "examples": "\n##### Example\n\nReturns the 3D length of the layer's features in meters\n\n```arcade\nLength3D($layer, 'meters')\n```\n\n",
3297
3528
  "completion": {
3298
3529
  "label": "Length3D",
3299
3530
  "detail": "Length3D(features, unit?) -> Number",
@@ -4068,6 +4299,57 @@
4068
4299
  "max": 2
4069
4300
  }
4070
4301
  },
4302
+ [
4303
+ {
4304
+ "type": "function",
4305
+ "name": "defaultvalue",
4306
+ "bundle": "core",
4307
+ "sinceVersion": "1.26",
4308
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
4309
+ "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.",
4310
+ "examples": "\n##### Examples\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",
4311
+ "completion": {
4312
+ "label": "DefaultValue",
4313
+ "detail": "DefaultValue(container, key, defaultValue) -> Any",
4314
+ "insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
4315
+ "insertTextMode": 2,
4316
+ "insertTextFormat": 2,
4317
+ "kind": 3,
4318
+ "documentation": {
4319
+ "kind": "markdown",
4320
+ "value": "**[Since version 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**Parameters**\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**Return value**: [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`."
4321
+ }
4322
+ },
4323
+ "parametersInfo": {
4324
+ "min": 3,
4325
+ "max": 3
4326
+ }
4327
+ },
4328
+ {
4329
+ "type": "function",
4330
+ "name": "defaultvalue",
4331
+ "bundle": "core",
4332
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
4333
+ "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.",
4334
+ "examples": "\n##### Examples\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",
4335
+ "completion": {
4336
+ "label": "DefaultValue",
4337
+ "detail": "DefaultValue(container, keys, defaultValue) -> Any",
4338
+ "insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
4339
+ "insertTextMode": 2,
4340
+ "insertTextFormat": 2,
4341
+ "kind": 3,
4342
+ "documentation": {
4343
+ "kind": "markdown",
4344
+ "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**Parameters**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Return value**: [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`."
4345
+ }
4346
+ },
4347
+ "parametersInfo": {
4348
+ "min": 3,
4349
+ "max": 3
4350
+ }
4351
+ }
4352
+ ],
4071
4353
  {
4072
4354
  "type": "function",
4073
4355
  "name": "densify",
@@ -4218,6 +4500,31 @@
4218
4500
  "max": 3
4219
4501
  }
4220
4502
  },
4503
+ {
4504
+ "type": "function",
4505
+ "name": "distancetocoordinate",
4506
+ "bundle": "geometry",
4507
+ "sinceVersion": "1.26",
4508
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
4509
+ "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._",
4510
+ "examples": "\n##### Example\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",
4511
+ "completion": {
4512
+ "label": "DistanceToCoordinate",
4513
+ "detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
4514
+ "insertText": "DistanceToCoordinate(${1:inputLine_}, ${2:inputDistance_})$0",
4515
+ "insertTextMode": 2,
4516
+ "insertTextFormat": 2,
4517
+ "kind": 3,
4518
+ "documentation": {
4519
+ "kind": "markdown",
4520
+ "value": "**[Since version 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**Parameters**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Return value**: [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`."
4521
+ }
4522
+ },
4523
+ "parametersInfo": {
4524
+ "min": 2,
4525
+ "max": 2
4526
+ }
4527
+ },
4221
4528
  {
4222
4529
  "type": "function",
4223
4530
  "name": "envelopeintersects",
@@ -4391,6 +4698,58 @@
4391
4698
  "max": 1
4392
4699
  }
4393
4700
  },
4701
+ [
4702
+ {
4703
+ "type": "function",
4704
+ "name": "hasvalue",
4705
+ "bundle": "core",
4706
+ "sinceVersion": "1.26",
4707
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
4708
+ "description": "Indicates whether a geometry has a value at a given key or index.",
4709
+ "examples": "\n##### Examples\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",
4710
+ "completion": {
4711
+ "label": "HasValue",
4712
+ "detail": "HasValue(inputGeometry, key) -> Boolean",
4713
+ "insertText": "HasValue(${1:inputGeometry_}, ${2:key_})$0",
4714
+ "insertTextMode": 2,
4715
+ "insertTextFormat": 2,
4716
+ "kind": 3,
4717
+ "documentation": {
4718
+ "kind": "markdown",
4719
+ "value": "**[Since version 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**Parameters**\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**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4720
+ }
4721
+ },
4722
+ "parametersInfo": {
4723
+ "min": 2,
4724
+ "max": 2
4725
+ }
4726
+ },
4727
+ {
4728
+ "type": "function",
4729
+ "name": "hasvalue",
4730
+ "bundle": "core",
4731
+ "sinceVersion": "1.26",
4732
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
4733
+ "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.",
4734
+ "examples": "\n##### Examples\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",
4735
+ "completion": {
4736
+ "label": "HasValue",
4737
+ "detail": "HasValue(inputGeometry, keys) -> Boolean",
4738
+ "insertText": "HasValue(${1:inputGeometry_}, ${2:keys_})$0",
4739
+ "insertTextMode": 2,
4740
+ "insertTextFormat": 2,
4741
+ "kind": 3,
4742
+ "documentation": {
4743
+ "kind": "markdown",
4744
+ "value": "**[Since version 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**Parameters**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)&gt; - An array of the keys or indexes to check in each level of the structure.\n\n**Return value**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
4745
+ }
4746
+ },
4747
+ "parametersInfo": {
4748
+ "min": 2,
4749
+ "max": 2
4750
+ }
4751
+ }
4752
+ ],
4394
4753
  {
4395
4754
  "type": "function",
4396
4755
  "name": "intersection",
@@ -4566,6 +4925,31 @@
4566
4925
  "max": 2
4567
4926
  }
4568
4927
  },
4928
+ {
4929
+ "type": "function",
4930
+ "name": "measuretocoordinate",
4931
+ "bundle": "geometry",
4932
+ "sinceVersion": "1.26",
4933
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
4934
+ "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._",
4935
+ "examples": "\n##### Example\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",
4936
+ "completion": {
4937
+ "label": "MeasureToCoordinate",
4938
+ "detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
4939
+ "insertText": "MeasureToCoordinate(${1:inputLine_}, ${2:inputMeasure_})$0",
4940
+ "insertTextMode": 2,
4941
+ "insertTextFormat": 2,
4942
+ "kind": 3,
4943
+ "documentation": {
4944
+ "kind": "markdown",
4945
+ "value": "**[Since version 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**Parameters**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Return value**: [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`."
4946
+ }
4947
+ },
4948
+ "parametersInfo": {
4949
+ "min": 2,
4950
+ "max": 2
4951
+ }
4952
+ },
4569
4953
  {
4570
4954
  "type": "function",
4571
4955
  "name": "multiparttosinglepart",
@@ -4682,7 +5066,7 @@
4682
5066
  "kind": 3,
4683
5067
  "documentation": {
4684
5068
  "kind": "markdown",
4685
- "value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest coordinate (not vertex) of the input geometry to the search point. The returned dictionary also includes the shortest planar distance from the search point to the nearest coordinate. If the search point intersects the input geometry, then the search point is returned as the result with a distance of zero.\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**Parameters**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The geometry from which to get the nearest coordinate.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The point from which to find the nearest coordinate of the `inputGeometry`.\n\n**Return value**: [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 closest coordinate from the `inputGeometry` to the `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the closest coordinate to the `searchPoint`. This represents the shortest distance between the `inputGeometry` and the `searchPoint`."
5069
+ "value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest coordinate (not vertex) of the input geometry to the search point. The returned dictionary also includes the shortest planar distance from the search point to the nearest coordinate. If the search point intersects the input geometry, then the search point is returned as the result with a distance of zero.\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**Parameters**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The geometry from which to get the nearest coordinate.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The point from which to find the nearest coordinate of the `inputGeometry`.\n\n**Return value**: [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 closest coordinate from the `inputGeometry` to the `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the closest coordinate to the `searchPoint`. This represents the shortest distance between the `inputGeometry` and the `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The spatial relationship between the `searchPoint` and the `inputGeometry`. Possible values: \n\n`left` - The `searchPoint` is on the left side of the `inputGeometry`.\n\n`right` - The `searchPoint` is on the right side of the `inputGeometry`.\n\n`straddle` - The `searchPoint` straddles or is on top of the `inputGeometry`."
4686
5070
  }
4687
5071
  },
4688
5072
  "parametersInfo": {
@@ -4707,7 +5091,7 @@
4707
5091
  "kind": 3,
4708
5092
  "documentation": {
4709
5093
  "kind": "markdown",
4710
- "value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest vertex of the input geometry to the search point. The returned dictionary includes the planar distance from the search point to the nearest vertex.\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**Parameters**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The geometry from which to get the nearest vertex.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The point from which to find the nearest vertex of the `inputGeometry`.\n\n**Return value**: [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 location representing the nearest vertex from the `inputGeometry` to the `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the input geometry's closest vertex to the `searchPoint`."
5094
+ "value": "**[Since version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest vertex of the input geometry to the search point. The returned dictionary includes the planar distance from the search point to the nearest vertex.\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**Parameters**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The geometry from which to get the nearest vertex.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The point from which to find the nearest vertex of the `inputGeometry`.\n\n**Return value**: [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 location representing the nearest vertex from the `inputGeometry` to the `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the input geometry's closest vertex to the `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The spatial relationship between the `searchPoint` and the `inputGeometry`. Possible values: \n\n`left` - The `searchPoint` is on the left side of the `inputGeometry`.\n\n`right` - The `searchPoint` is on the right side of the `inputGeometry`.\n\n`straddle` - The `searchPoint` straddles or is on top of the `inputGeometry`."
4711
5095
  }
4712
5096
  },
4713
5097
  "parametersInfo": {
@@ -4815,6 +5199,31 @@
4815
5199
  }
4816
5200
  }
4817
5201
  ],
5202
+ {
5203
+ "type": "function",
5204
+ "name": "pointtocoordinate",
5205
+ "bundle": "geometry",
5206
+ "sinceVersion": "1.26",
5207
+ "link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
5208
+ "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._",
5209
+ "examples": "\n##### Example\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",
5210
+ "completion": {
5211
+ "label": "PointToCoordinate",
5212
+ "detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
5213
+ "insertText": "PointToCoordinate(${1:inputLine_}, ${2:searchPoint_})$0",
5214
+ "insertTextMode": 2,
5215
+ "insertTextFormat": 2,
5216
+ "kind": 3,
5217
+ "documentation": {
5218
+ "kind": "markdown",
5219
+ "value": "**[Since version 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**Parameters**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)&lt;[Point](https://developers.arcgis.com/arcade/guide/types/#point)&gt; \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Return value**: [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`."
5220
+ }
5221
+ },
5222
+ "parametersInfo": {
5223
+ "min": 2,
5224
+ "max": 2
5225
+ }
5226
+ },
4818
5227
  [
4819
5228
  {
4820
5229
  "type": "function",
@@ -5217,6 +5626,62 @@
5217
5626
  }
5218
5627
  ]
5219
5628
  },
5629
+ {
5630
+ "id": "knowledgegraph_functions",
5631
+ "title": "Knowledge graph functions",
5632
+ "items": [
5633
+ {
5634
+ "type": "function",
5635
+ "name": "knowledgegraphbyportalitem",
5636
+ "bundle": "knowledge-graph",
5637
+ "sinceVersion": "1.26",
5638
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
5639
+ "description": "Returns a knowledge graph from a portal item.",
5640
+ "examples": "\n##### Example\n\nReturns 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",
5641
+ "completion": {
5642
+ "label": "KnowledgeGraphByPortalItem",
5643
+ "detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
5644
+ "insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
5645
+ "insertTextMode": 2,
5646
+ "insertTextFormat": 2,
5647
+ "kind": 3,
5648
+ "documentation": {
5649
+ "kind": "markdown",
5650
+ "value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a knowledge graph from a portal item.\n\n**Parameters**\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**Return value**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
5651
+ }
5652
+ },
5653
+ "parametersInfo": {
5654
+ "min": 2,
5655
+ "max": 2
5656
+ }
5657
+ },
5658
+ {
5659
+ "type": "function",
5660
+ "name": "querygraph",
5661
+ "bundle": "knowledge-graph",
5662
+ "sinceVersion": "1.26",
5663
+ "link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
5664
+ "description": "Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties.",
5665
+ "examples": "\n##### Example\n\nQueries 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",
5666
+ "completion": {
5667
+ "label": "QueryGraph",
5668
+ "detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
5669
+ "insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
5670
+ "insertTextMode": 2,
5671
+ "insertTextFormat": 2,
5672
+ "kind": 3,
5673
+ "documentation": {
5674
+ "kind": "markdown",
5675
+ "value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nQueries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties.\n\n**Parameters**\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**Return value**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
5676
+ }
5677
+ },
5678
+ "parametersInfo": {
5679
+ "min": 2,
5680
+ "max": 3
5681
+ }
5682
+ }
5683
+ ]
5684
+ },
5220
5685
  {
5221
5686
  "id": "logical_functions",
5222
5687
  "title": "Logical functions",
@@ -7044,7 +7509,7 @@
7044
7509
  "sinceVersion": "1.12",
7045
7510
  "link": "https://developers.arcgis.com/arcade/function-reference/track_functions/#trackdistanceat",
7046
7511
  "description": "The sum of the distances travelled between observations from the first to the current observation plus the given value.",
7047
- "examples": "\n##### Examples\n\nYour track has six features, as seen above. The expression returns a value for each feature in the track. In the first example, we examine results when evaluated at feature 2 (p2) with an index value of 2. The calculation is `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nYour track has six features, as seen above. The expression returns a value for each feature in the track. In the following example, we examine results when evaluated at feature 4 (p4) with an index value of 4. The calculation is `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 230\n```\n\n",
7512
+ "examples": "\n##### Examples\n\nYour track has six features, as seen above. The expression returns a value for each feature in the track. In the first example, we examine results when evaluated at feature 2 (p2) with an index value of 2. The calculation is `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nYour track has six features, as seen above. The expression returns a value for each feature in the track. In the following example, we examine results when evaluated at feature 4 (p4) with an index value of 4. The calculation is `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(4)\n// returns 230\n```\n\n",
7048
7513
  "completion": {
7049
7514
  "label": "TrackDistanceAt",
7050
7515
  "detail": "TrackDistanceAt(index) -> Number",