@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.
- package/LICENSE.md +1 -1
- package/README.md +6 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +6 -1
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ar.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bg.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.cs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.da.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.el.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.en.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.es.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.et.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hu.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.id.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.it.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ja.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ko.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lt.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nb.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-BR.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-PT.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ro.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ru.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.th.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.tr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.uk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.vi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-CN.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-HK.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-TW.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ar.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bg.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ca.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.cs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.da.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.de.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.el.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.en.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.es.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.et.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.he.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hu.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.id.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.it.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ja.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ko.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lt.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nb.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-BR.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-PT.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ro.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ru.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.th.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.tr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.uk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.vi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-CN.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-HK.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-TW.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +30 -31
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +30 -34
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +7 -8
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +18 -20
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +21 -22
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +79 -80
- package/dist/arcgis-coding-components/index.esm.js +6 -1
- package/dist/arcgis-coding-components/p-048612c6.js +7 -0
- package/dist/arcgis-coding-components/p-1d4f926f.js +6 -0
- package/dist/arcgis-coding-components/{p-443fe20e.js → p-4344b240.js} +7 -2
- package/dist/arcgis-coding-components/{p-9a164b63.js → p-43b95b3a.js} +8 -3
- package/dist/arcgis-coding-components/{p-cfff9500.js → p-5ca96f1c.js} +6 -1
- package/dist/arcgis-coding-components/{p-9dd33d3e.js → p-6f61a758.js} +7 -2
- package/dist/arcgis-coding-components/p-9c1279fa.js +68 -0
- package/dist/arcgis-coding-components/p-be21051e.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ff06e912.js → p-daef9c50.js} +7 -2
- package/dist/arcgis-coding-components/{p-b83db734.js → p-dfb57db2.js} +7 -2
- package/dist/arcgis-coding-components/{p-b3500466.js → p-e5c84ef0.js} +7 -2
- package/dist/arcgis-coding-components/{p-310f0408.js → p-e625cdc1.js} +7 -2
- package/dist/cjs/{arcade-defaults-e128d6d9.js → arcade-defaults-4a4ff48e.js} +13204 -11292
- package/dist/cjs/arcade-mode-e8a048dc.js +604 -0
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1484 -1408
- package/dist/cjs/arcgis-coding-components.cjs.js +8 -3
- package/dist/cjs/{css-7229b372.js → css-66caa3cb.js} +6 -1
- package/dist/cjs/{cssMode-8c1d563a.js → cssMode-82651023.js} +8 -3
- package/dist/cjs/{html-ead03bbb.js → html-2c47fd86.js} +8 -3
- package/dist/cjs/{htmlMode-5e1a0115.js → htmlMode-9582a9b2.js} +8 -3
- package/dist/cjs/{index-f8a85eb8.js → index-7156ebfa.js} +395 -101
- package/dist/cjs/index.cjs.js +7 -2
- package/dist/cjs/{javascript-3fe2de06.js → javascript-f35b0dc5.js} +9 -4
- package/dist/cjs/{jsonMode-8b4b19f9.js → jsonMode-632b6048.js} +8 -3
- package/dist/cjs/loader.cjs.js +8 -12
- package/dist/cjs/{tsMode-b9491227.js → tsMode-c6f1ab1f.js} +8 -3
- package/dist/cjs/{typescript-524fddbc.js → typescript-9e1f35cb.js} +8 -3
- package/dist/components/arcade-api.js +170 -162
- package/dist/components/arcade-contribution.js +75 -65
- package/dist/components/arcade-defaults.js +1425 -1270
- package/dist/components/arcade-mode.js +521 -515
- package/dist/components/arcade-results.js +479 -426
- package/dist/components/arcade-suggestions.js +138 -131
- package/dist/components/arcade-variables.js +167 -153
- package/dist/components/arcgis-arcade-api.d.ts +2 -2
- package/dist/components/arcgis-arcade-api.js +5 -0
- package/dist/components/arcgis-arcade-editor.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.js +413 -387
- package/dist/components/arcgis-arcade-results.d.ts +2 -2
- package/dist/components/arcgis-arcade-results.js +5 -0
- package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
- package/dist/components/arcgis-arcade-suggestions.js +5 -0
- package/dist/components/arcgis-arcade-variables.d.ts +2 -2
- package/dist/components/arcgis-arcade-variables.js +5 -0
- package/dist/components/arcgis-code-editor.d.ts +2 -2
- package/dist/components/arcgis-code-editor.js +5 -0
- package/dist/components/code-editor.js +255 -250
- package/dist/components/fields.js +104 -77
- package/dist/components/functional-components.js +6 -1
- package/dist/components/index.d.ts +5 -8
- package/dist/components/index.js +6 -7
- package/dist/components/index2.js +7 -2
- package/dist/components/markdown.js +33 -28
- package/dist/components/utilities.js +26 -21
- package/dist/esm/{arcade-defaults-a34c2e51.js → arcade-defaults-0f350eac.js} +13196 -11284
- package/dist/esm/arcade-mode-e87281c6.js +600 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +1484 -1408
- package/dist/esm/arcgis-coding-components.js +9 -4
- package/dist/esm/{css-ff1e9f8c.js → css-368560db.js} +6 -1
- package/dist/esm/{cssMode-cb48c437.js → cssMode-9c59d807.js} +8 -3
- package/dist/esm/{html-e7c0bd60.js → html-1ffd663e.js} +8 -3
- package/dist/esm/{htmlMode-46638b7f.js → htmlMode-341ef75a.js} +8 -3
- package/dist/esm/{index-d4ec142a.js → index-585dc89e.js} +395 -101
- package/dist/esm/index.js +7 -2
- package/dist/esm/{javascript-2229cd63.js → javascript-91416769.js} +9 -4
- package/dist/esm/{jsonMode-08a2f0d2.js → jsonMode-ccf7e27b.js} +8 -3
- package/dist/esm/loader.js +8 -12
- package/dist/esm/{tsMode-46d0d8e8.js → tsMode-45a0fdf5.js} +8 -3
- package/dist/esm/{typescript-88a09694.js → typescript-7ab173c1.js} +8 -3
- package/dist/loader/cdn.js +5 -1
- package/dist/loader/index.cjs.js +5 -1
- package/dist/loader/index.d.ts +2 -2
- package/dist/loader/index.es2017.js +5 -1
- package/dist/loader/index.js +5 -1
- package/dist/types/components/arcade-api/arcade-api.d.ts +42 -41
- package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +129 -133
- package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-results/arcade-results.d.ts +46 -50
- package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +37 -36
- package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +42 -42
- package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
- package/dist/types/components/code-editor/code-editor.d.ts +74 -74
- package/dist/types/components.d.ts +87 -12
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +61 -17
- package/dist/types/utils/arcade-executor.d.ts +89 -81
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +1 -1
- package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +69 -68
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +27 -26
- package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +10 -10
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +9 -8
- package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +11 -11
- package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +16 -14
- package/dist/types/utils/arcade-monaco/types.d.ts +31 -33
- package/dist/types/utils/colorize.d.ts +1 -1
- package/dist/types/utils/editor-suggestions.d.ts +24 -24
- package/dist/types/utils/fields.d.ts +1 -0
- package/dist/types/utils/functional-components.d.ts +2 -2
- package/dist/types/utils/markdown.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +187 -196
- package/dist/types/utils/profile/types.d.ts +230 -109
- package/dist/types/utils/profile/utils.d.ts +31 -14
- package/dist/types/utils/utilities.d.ts +2 -2
- package/package.json +26 -42
- package/dist/arcgis-coding-components/p-0fa0a06d.js +0 -2
- package/dist/arcgis-coding-components/p-1b0246cd.entry.js +0 -1
- package/dist/arcgis-coding-components/p-236ce4a1.js +0 -62
- package/dist/arcgis-coding-components/p-3664ab2a.js +0 -1
- package/dist/cjs/arcade-mode-8bf7a14b.js +0 -598
- package/dist/esm/arcade-mode-c5a69066.js +0 -594
- 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##### Eksempler\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": "**[Siden 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**Parametre**\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**Returværdi**: [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##### Eksempler\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**Parametre**\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**Returværdi**: [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##### Eksempler\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": "**[Siden 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**Parametre**\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**Returværdi**: [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##### Eksempler\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": "**[Siden 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**Parametre**\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**Returværdi**: [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": "Trækker to datoer fra hinanden og returnerer forskellen i de angivne enheder.",
|
|
1039
|
-
"examples": "\n##### Eksempler\n\nTrækker to datoer fra hinanden og returnerer alderen\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\
|
|
1142
|
+
"examples": "\n##### Eksempler\n\nTrækker to datoer fra hinanden og returnerer alderen\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nø_Subtracts two Dates and returns the difference_________________________å.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
1040
1143
|
"completion": {
|
|
1041
1144
|
"label": "DateDiff",
|
|
1042
1145
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -2444,6 +2547,31 @@
|
|
|
2444
2547
|
"max": 2
|
|
2445
2548
|
}
|
|
2446
2549
|
},
|
|
2550
|
+
{
|
|
2551
|
+
"type": "function",
|
|
2552
|
+
"name": "filterbysubtypecode",
|
|
2553
|
+
"bundle": "data-access",
|
|
2554
|
+
"sinceVersion": "1.25",
|
|
2555
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
2556
|
+
"description": "ø_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________å.",
|
|
2557
|
+
"examples": "\n##### Eksempel\n\nø_Filter features with the subtype code____________________å\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
|
|
2558
|
+
"completion": {
|
|
2559
|
+
"label": "FilterBySubtypeCode",
|
|
2560
|
+
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
2561
|
+
"insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
|
|
2562
|
+
"insertTextMode": 2,
|
|
2563
|
+
"insertTextFormat": 2,
|
|
2564
|
+
"kind": 3,
|
|
2565
|
+
"documentation": {
|
|
2566
|
+
"kind": "markdown",
|
|
2567
|
+
"value": "**[Siden version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nø_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________å.\n\n**Parametre**\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**Returværdi**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
"parametersInfo": {
|
|
2571
|
+
"min": 2,
|
|
2572
|
+
"max": 2
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2447
2575
|
{
|
|
2448
2576
|
"type": "function",
|
|
2449
2577
|
"name": "first",
|
|
@@ -2677,7 +2805,7 @@
|
|
|
2677
2805
|
"sinceVersion": "1.14",
|
|
2678
2806
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d",
|
|
2679
2807
|
"description": "Returnerer den planare (dvs. kartesiske) længde af input-FeatureSet under hensyntagen til højde eller Z-oplysninger. Geometrien til dette objekt skal tildeles et forudberegnet koordinatsystem. Hvis den spatiale reference ikke giver en værdi for Z-enheder, så returneres resultatet i meter. Vær opmærksom på, at ikke alle klienter (f.eks. 3.x-serien af ArcGIS API for JavaScript) understøtter anmodning om Z-værdier, selv om dataene indeholder Z-informationer.\n\n_Objektgeometrier i visualiseringen og etiketprofilerne generaliseres i overensstemmelse med visningens skalaopløsning for at forbedre tegneydelsen. Brug derfor et objekts geometri (dvs. `$feature`) som input til enhver geometrifunktion i sådanne sammenhænge returnerer forskellige resultater på hvert skalaniveau. Andre profiler, såsom pop op, giver den fulde opløsningsgeometri._",
|
|
2680
|
-
"examples": "\n##### Eksempel\n\nReturnerer 3D-længden af lagenes objekter i meter\n\n```arcade\
|
|
2808
|
+
"examples": "\n##### Eksempel\n\nReturnerer 3D-længden af lagenes objekter i meter\n\n```arcade\nLength3D($layer, 'meters')\n```\n\n",
|
|
2681
2809
|
"completion": {
|
|
2682
2810
|
"label": "Length3D",
|
|
2683
2811
|
"detail": "Length3D(features, unit?) -> Number",
|
|
@@ -3507,6 +3635,57 @@
|
|
|
3507
3635
|
"max": 2
|
|
3508
3636
|
}
|
|
3509
3637
|
},
|
|
3638
|
+
[
|
|
3639
|
+
{
|
|
3640
|
+
"type": "function",
|
|
3641
|
+
"name": "defaultvalue",
|
|
3642
|
+
"bundle": "core",
|
|
3643
|
+
"sinceVersion": "1.26",
|
|
3644
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
3645
|
+
"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.",
|
|
3646
|
+
"examples": "\n##### Eksempler\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",
|
|
3647
|
+
"completion": {
|
|
3648
|
+
"label": "DefaultValue",
|
|
3649
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
3650
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
3651
|
+
"insertTextMode": 2,
|
|
3652
|
+
"insertTextFormat": 2,
|
|
3653
|
+
"kind": 3,
|
|
3654
|
+
"documentation": {
|
|
3655
|
+
"kind": "markdown",
|
|
3656
|
+
"value": "**[Siden 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**Parametre**\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**Returværdi**: [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`."
|
|
3657
|
+
}
|
|
3658
|
+
},
|
|
3659
|
+
"parametersInfo": {
|
|
3660
|
+
"min": 3,
|
|
3661
|
+
"max": 3
|
|
3662
|
+
}
|
|
3663
|
+
},
|
|
3664
|
+
{
|
|
3665
|
+
"type": "function",
|
|
3666
|
+
"name": "defaultvalue",
|
|
3667
|
+
"bundle": "core",
|
|
3668
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
3669
|
+
"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.",
|
|
3670
|
+
"examples": "\n##### Eksempler\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",
|
|
3671
|
+
"completion": {
|
|
3672
|
+
"label": "DefaultValue",
|
|
3673
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
3674
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
3675
|
+
"insertTextMode": 2,
|
|
3676
|
+
"insertTextFormat": 2,
|
|
3677
|
+
"kind": 3,
|
|
3678
|
+
"documentation": {
|
|
3679
|
+
"kind": "markdown",
|
|
3680
|
+
"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**Parametre**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Returværdi**: [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`."
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
"parametersInfo": {
|
|
3684
|
+
"min": 3,
|
|
3685
|
+
"max": 3
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
],
|
|
3510
3689
|
{
|
|
3511
3690
|
"type": "function",
|
|
3512
3691
|
"name": "densify",
|
|
@@ -3657,6 +3836,31 @@
|
|
|
3657
3836
|
"max": 3
|
|
3658
3837
|
}
|
|
3659
3838
|
},
|
|
3839
|
+
{
|
|
3840
|
+
"type": "function",
|
|
3841
|
+
"name": "distancetocoordinate",
|
|
3842
|
+
"bundle": "geometry",
|
|
3843
|
+
"sinceVersion": "1.26",
|
|
3844
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
3845
|
+
"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._",
|
|
3846
|
+
"examples": "\n##### Eksempel\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",
|
|
3847
|
+
"completion": {
|
|
3848
|
+
"label": "DistanceToCoordinate",
|
|
3849
|
+
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
3850
|
+
"insertText": "DistanceToCoordinate(${1:inputLine_}, ${2:inputDistance_})$0",
|
|
3851
|
+
"insertTextMode": 2,
|
|
3852
|
+
"insertTextFormat": 2,
|
|
3853
|
+
"kind": 3,
|
|
3854
|
+
"documentation": {
|
|
3855
|
+
"kind": "markdown",
|
|
3856
|
+
"value": "**[Siden 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**Parametre**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Returværdi**: [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`."
|
|
3857
|
+
}
|
|
3858
|
+
},
|
|
3859
|
+
"parametersInfo": {
|
|
3860
|
+
"min": 2,
|
|
3861
|
+
"max": 2
|
|
3862
|
+
}
|
|
3863
|
+
},
|
|
3660
3864
|
{
|
|
3661
3865
|
"type": "function",
|
|
3662
3866
|
"name": "envelopeintersects",
|
|
@@ -3830,6 +4034,58 @@
|
|
|
3830
4034
|
"max": 1
|
|
3831
4035
|
}
|
|
3832
4036
|
},
|
|
4037
|
+
[
|
|
4038
|
+
{
|
|
4039
|
+
"type": "function",
|
|
4040
|
+
"name": "hasvalue",
|
|
4041
|
+
"bundle": "core",
|
|
4042
|
+
"sinceVersion": "1.26",
|
|
4043
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
4044
|
+
"description": "Indicates whether a geometry has a value at a given key or index.",
|
|
4045
|
+
"examples": "\n##### Eksempler\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",
|
|
4046
|
+
"completion": {
|
|
4047
|
+
"label": "HasValue",
|
|
4048
|
+
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
4049
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:key_})$0",
|
|
4050
|
+
"insertTextMode": 2,
|
|
4051
|
+
"insertTextFormat": 2,
|
|
4052
|
+
"kind": 3,
|
|
4053
|
+
"documentation": {
|
|
4054
|
+
"kind": "markdown",
|
|
4055
|
+
"value": "**[Siden 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**Parametre**\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**Returværdi**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4056
|
+
}
|
|
4057
|
+
},
|
|
4058
|
+
"parametersInfo": {
|
|
4059
|
+
"min": 2,
|
|
4060
|
+
"max": 2
|
|
4061
|
+
}
|
|
4062
|
+
},
|
|
4063
|
+
{
|
|
4064
|
+
"type": "function",
|
|
4065
|
+
"name": "hasvalue",
|
|
4066
|
+
"bundle": "core",
|
|
4067
|
+
"sinceVersion": "1.26",
|
|
4068
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
4069
|
+
"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.",
|
|
4070
|
+
"examples": "\n##### Eksempler\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",
|
|
4071
|
+
"completion": {
|
|
4072
|
+
"label": "HasValue",
|
|
4073
|
+
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
4074
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:keys_})$0",
|
|
4075
|
+
"insertTextMode": 2,
|
|
4076
|
+
"insertTextFormat": 2,
|
|
4077
|
+
"kind": 3,
|
|
4078
|
+
"documentation": {
|
|
4079
|
+
"kind": "markdown",
|
|
4080
|
+
"value": "**[Siden 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**Parametre**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Returværdi**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4081
|
+
}
|
|
4082
|
+
},
|
|
4083
|
+
"parametersInfo": {
|
|
4084
|
+
"min": 2,
|
|
4085
|
+
"max": 2
|
|
4086
|
+
}
|
|
4087
|
+
}
|
|
4088
|
+
],
|
|
3833
4089
|
{
|
|
3834
4090
|
"type": "function",
|
|
3835
4091
|
"name": "intersection",
|
|
@@ -4005,6 +4261,31 @@
|
|
|
4005
4261
|
"max": 2
|
|
4006
4262
|
}
|
|
4007
4263
|
},
|
|
4264
|
+
{
|
|
4265
|
+
"type": "function",
|
|
4266
|
+
"name": "measuretocoordinate",
|
|
4267
|
+
"bundle": "geometry",
|
|
4268
|
+
"sinceVersion": "1.26",
|
|
4269
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
4270
|
+
"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._",
|
|
4271
|
+
"examples": "\n##### Eksempel\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",
|
|
4272
|
+
"completion": {
|
|
4273
|
+
"label": "MeasureToCoordinate",
|
|
4274
|
+
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
4275
|
+
"insertText": "MeasureToCoordinate(${1:inputLine_}, ${2:inputMeasure_})$0",
|
|
4276
|
+
"insertTextMode": 2,
|
|
4277
|
+
"insertTextFormat": 2,
|
|
4278
|
+
"kind": 3,
|
|
4279
|
+
"documentation": {
|
|
4280
|
+
"kind": "markdown",
|
|
4281
|
+
"value": "**[Siden 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**Parametre**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Returværdi**: [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`."
|
|
4282
|
+
}
|
|
4283
|
+
},
|
|
4284
|
+
"parametersInfo": {
|
|
4285
|
+
"min": 2,
|
|
4286
|
+
"max": 2
|
|
4287
|
+
}
|
|
4288
|
+
},
|
|
4008
4289
|
{
|
|
4009
4290
|
"type": "function",
|
|
4010
4291
|
"name": "multiparttosinglepart",
|
|
@@ -4121,7 +4402,7 @@
|
|
|
4121
4402
|
"kind": 3,
|
|
4122
4403
|
"documentation": {
|
|
4123
4404
|
"kind": "markdown",
|
|
4124
|
-
"value": "**[Siden version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnerer den nærmeste koordinat (ikke koordinatpunkt) for input-geometrien til søgepunktet. Den returnerede ordbog indeholder også den korteste planare afstand fra søgepunktet til den nærmeste koordinat. Hvis søgepunktet gennemskærer input-geometrien, returneres søgepunktet som resultat med en afstand på nul.\n\n_Objektgeometrier i visualiseringen og etiketprofilerne generaliseres i overensstemmelse med visningens skalaopløsning for at forbedre tegneydelsen. Brug derfor et objekts geometri (dvs. `$feature`) som input til enhver geometrifunktion i sådanne sammenhænge returnerer forskellige resultater på hvert skalaniveau. Andre profiler, såsom pop op, giver den fulde opløsningsgeometri._\n\n**Parametre**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Den geometri, hvorfra den nærmeste koordinat skal hentes.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Det punkt, hvorfra den nærmeste koordinat for `inputGeometry` skal findes.\n\n**Returværdi**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerer en ordbog med følgende egenskaber.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Den nærmeste koordinat fra `inputGeometry` til `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Den planare afstand fra den nærmeste koordinat til `searchPoint`. Dette repræsenterer den korteste afstand mellem `inputGeometry` og `searchPoint
|
|
4405
|
+
"value": "**[Siden version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnerer den nærmeste koordinat (ikke koordinatpunkt) for input-geometrien til søgepunktet. Den returnerede ordbog indeholder også den korteste planare afstand fra søgepunktet til den nærmeste koordinat. Hvis søgepunktet gennemskærer input-geometrien, returneres søgepunktet som resultat med en afstand på nul.\n\n_Objektgeometrier i visualiseringen og etiketprofilerne generaliseres i overensstemmelse med visningens skalaopløsning for at forbedre tegneydelsen. Brug derfor et objekts geometri (dvs. `$feature`) som input til enhver geometrifunktion i sådanne sammenhænge returnerer forskellige resultater på hvert skalaniveau. Andre profiler, såsom pop op, giver den fulde opløsningsgeometri._\n\n**Parametre**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Den geometri, hvorfra den nærmeste koordinat skal hentes.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Det punkt, hvorfra den nærmeste koordinat for `inputGeometry` skal findes.\n\n**Returværdi**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerer en ordbog med følgende egenskaber.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Den nærmeste koordinat fra `inputGeometry` til `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Den planare afstand fra den nærmeste koordinat til `searchPoint`. Dette repræsenterer den korteste afstand mellem `inputGeometry` og `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
4125
4406
|
}
|
|
4126
4407
|
},
|
|
4127
4408
|
"parametersInfo": {
|
|
@@ -4146,7 +4427,7 @@
|
|
|
4146
4427
|
"kind": 3,
|
|
4147
4428
|
"documentation": {
|
|
4148
4429
|
"kind": "markdown",
|
|
4149
|
-
"value": "**[Siden version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnerer det nærmeste koordinatpunkt for input-geometrien til søgepunktet. Den returnerede ordbog indeholder den planare afstand fra søgepunktet til det nærmeste koordinatpunkt.\n\n_Objektgeometrier i visualiseringen og etiketprofilerne generaliseres i overensstemmelse med visningens skalaopløsning for at forbedre tegneydelsen. Brug derfor et objekts geometri (dvs. `$feature`) som input til enhver geometrifunktion i sådanne sammenhænge returnerer forskellige resultater på hvert skalaniveau. Andre profiler, såsom pop op, giver den fulde opløsningsgeometri._\n\n**Parametre**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Den geometri, hvorfra det nærmeste koordinatpunkt skal hentes.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Det punkt, hvorfra det nærmeste koordinatpunkt for `inputGeometry` skal findes.\n\n**Returværdi**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerer en ordbog med følgende egenskaber.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Den punktplacering, der repræsenterer det nærmeste koordinatpunkt fra `inputGeometry` til `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Den planare afstand fra input-geometriens nærmeste koordinatpunkt til `searchPoint
|
|
4430
|
+
"value": "**[Siden version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturnerer det nærmeste koordinatpunkt for input-geometrien til søgepunktet. Den returnerede ordbog indeholder den planare afstand fra søgepunktet til det nærmeste koordinatpunkt.\n\n_Objektgeometrier i visualiseringen og etiketprofilerne generaliseres i overensstemmelse med visningens skalaopløsning for at forbedre tegneydelsen. Brug derfor et objekts geometri (dvs. `$feature`) som input til enhver geometrifunktion i sådanne sammenhænge returnerer forskellige resultater på hvert skalaniveau. Andre profiler, såsom pop op, giver den fulde opløsningsgeometri._\n\n**Parametre**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Den geometri, hvorfra det nærmeste koordinatpunkt skal hentes.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Det punkt, hvorfra det nærmeste koordinatpunkt for `inputGeometry` skal findes.\n\n**Returværdi**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerer en ordbog med følgende egenskaber.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Den punktplacering, der repræsenterer det nærmeste koordinatpunkt fra `inputGeometry` til `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Den planare afstand fra input-geometriens nærmeste koordinatpunkt til `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
4150
4431
|
}
|
|
4151
4432
|
},
|
|
4152
4433
|
"parametersInfo": {
|
|
@@ -4254,6 +4535,31 @@
|
|
|
4254
4535
|
}
|
|
4255
4536
|
}
|
|
4256
4537
|
],
|
|
4538
|
+
{
|
|
4539
|
+
"type": "function",
|
|
4540
|
+
"name": "pointtocoordinate",
|
|
4541
|
+
"bundle": "geometry",
|
|
4542
|
+
"sinceVersion": "1.26",
|
|
4543
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
4544
|
+
"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._",
|
|
4545
|
+
"examples": "\n##### Eksempel\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",
|
|
4546
|
+
"completion": {
|
|
4547
|
+
"label": "PointToCoordinate",
|
|
4548
|
+
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
4549
|
+
"insertText": "PointToCoordinate(${1:inputLine_}, ${2:searchPoint_})$0",
|
|
4550
|
+
"insertTextMode": 2,
|
|
4551
|
+
"insertTextFormat": 2,
|
|
4552
|
+
"kind": 3,
|
|
4553
|
+
"documentation": {
|
|
4554
|
+
"kind": "markdown",
|
|
4555
|
+
"value": "**[Siden 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**Parametre**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Returværdi**: [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`."
|
|
4556
|
+
}
|
|
4557
|
+
},
|
|
4558
|
+
"parametersInfo": {
|
|
4559
|
+
"min": 2,
|
|
4560
|
+
"max": 2
|
|
4561
|
+
}
|
|
4562
|
+
},
|
|
4257
4563
|
[
|
|
4258
4564
|
{
|
|
4259
4565
|
"type": "function",
|
|
@@ -5696,6 +6002,62 @@
|
|
|
5696
6002
|
]
|
|
5697
6003
|
]
|
|
5698
6004
|
},
|
|
6005
|
+
{
|
|
6006
|
+
"id": "knowledgegraph_functions",
|
|
6007
|
+
"title": "ø_Knowledge graph functions__________________________å",
|
|
6008
|
+
"items": [
|
|
6009
|
+
{
|
|
6010
|
+
"type": "function",
|
|
6011
|
+
"name": "knowledgegraphbyportalitem",
|
|
6012
|
+
"bundle": "knowledge-graph",
|
|
6013
|
+
"sinceVersion": "1.26",
|
|
6014
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
|
|
6015
|
+
"description": "ø_Returns a knowledge graph from a portal item________________________å.",
|
|
6016
|
+
"examples": "\n##### Eksempel\n\nø_Returns the knowledge graph from the portal item__________________________å.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
6017
|
+
"completion": {
|
|
6018
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
6019
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
6020
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
6021
|
+
"insertTextMode": 2,
|
|
6022
|
+
"insertTextFormat": 2,
|
|
6023
|
+
"kind": 3,
|
|
6024
|
+
"documentation": {
|
|
6025
|
+
"kind": "markdown",
|
|
6026
|
+
"value": "**[Siden version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nø_Returns a knowledge graph from a portal item________________________å.\n\n**Parametre**\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**Returværdi**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
6027
|
+
}
|
|
6028
|
+
},
|
|
6029
|
+
"parametersInfo": {
|
|
6030
|
+
"min": 2,
|
|
6031
|
+
"max": 2
|
|
6032
|
+
}
|
|
6033
|
+
},
|
|
6034
|
+
{
|
|
6035
|
+
"type": "function",
|
|
6036
|
+
"name": "querygraph",
|
|
6037
|
+
"bundle": "knowledge-graph",
|
|
6038
|
+
"sinceVersion": "1.26",
|
|
6039
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
|
|
6040
|
+
"description": "ø_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________å.",
|
|
6041
|
+
"examples": "\n##### Eksempel\n\nø_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________å.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
|
|
6042
|
+
"completion": {
|
|
6043
|
+
"label": "QueryGraph",
|
|
6044
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
|
|
6045
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
6046
|
+
"insertTextMode": 2,
|
|
6047
|
+
"insertTextFormat": 2,
|
|
6048
|
+
"kind": 3,
|
|
6049
|
+
"documentation": {
|
|
6050
|
+
"kind": "markdown",
|
|
6051
|
+
"value": "**[Siden version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nø_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________å.\n\n**Parametre**\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**Returværdi**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
6052
|
+
}
|
|
6053
|
+
},
|
|
6054
|
+
"parametersInfo": {
|
|
6055
|
+
"min": 2,
|
|
6056
|
+
"max": 3
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
]
|
|
6060
|
+
},
|
|
5699
6061
|
{
|
|
5700
6062
|
"id": "feature_functions",
|
|
5701
6063
|
"title": "Objektfunktioner",
|
|
@@ -5949,6 +6311,31 @@
|
|
|
5949
6311
|
"max": 1
|
|
5950
6312
|
}
|
|
5951
6313
|
},
|
|
6314
|
+
{
|
|
6315
|
+
"type": "function",
|
|
6316
|
+
"name": "hasvalue",
|
|
6317
|
+
"bundle": "core",
|
|
6318
|
+
"sinceVersion": "1.20",
|
|
6319
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
6320
|
+
"description": "Indicates whether a feature has a given field and if that field has a value.",
|
|
6321
|
+
"examples": "\n##### Eksempel\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",
|
|
6322
|
+
"completion": {
|
|
6323
|
+
"label": "HasValue",
|
|
6324
|
+
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
6325
|
+
"insertText": "HasValue(${1:inputFeature_}, ${2:fieldName_})$0",
|
|
6326
|
+
"insertTextMode": 2,
|
|
6327
|
+
"insertTextFormat": 2,
|
|
6328
|
+
"kind": 3,
|
|
6329
|
+
"documentation": {
|
|
6330
|
+
"kind": "markdown",
|
|
6331
|
+
"value": "**[Siden 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**Parametre**\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**Returværdi**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6332
|
+
}
|
|
6333
|
+
},
|
|
6334
|
+
"parametersInfo": {
|
|
6335
|
+
"min": 2,
|
|
6336
|
+
"max": 2
|
|
6337
|
+
}
|
|
6338
|
+
},
|
|
5952
6339
|
{
|
|
5953
6340
|
"type": "function",
|
|
5954
6341
|
"name": "schema",
|
|
@@ -6055,6 +6442,57 @@
|
|
|
6055
6442
|
"id": "dictionary_functions",
|
|
6056
6443
|
"title": "Ordbogsfunktioner",
|
|
6057
6444
|
"items": [
|
|
6445
|
+
[
|
|
6446
|
+
{
|
|
6447
|
+
"type": "function",
|
|
6448
|
+
"name": "defaultvalue",
|
|
6449
|
+
"bundle": "core",
|
|
6450
|
+
"sinceVersion": "1.26",
|
|
6451
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
6452
|
+
"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.",
|
|
6453
|
+
"examples": "\n##### Eksempler\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",
|
|
6454
|
+
"completion": {
|
|
6455
|
+
"label": "DefaultValue",
|
|
6456
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
6457
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
6458
|
+
"insertTextMode": 2,
|
|
6459
|
+
"insertTextFormat": 2,
|
|
6460
|
+
"kind": 3,
|
|
6461
|
+
"documentation": {
|
|
6462
|
+
"kind": "markdown",
|
|
6463
|
+
"value": "**[Siden 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**Parametre**\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**Returværdi**: [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`."
|
|
6464
|
+
}
|
|
6465
|
+
},
|
|
6466
|
+
"parametersInfo": {
|
|
6467
|
+
"min": 3,
|
|
6468
|
+
"max": 3
|
|
6469
|
+
}
|
|
6470
|
+
},
|
|
6471
|
+
{
|
|
6472
|
+
"type": "function",
|
|
6473
|
+
"name": "defaultvalue",
|
|
6474
|
+
"bundle": "core",
|
|
6475
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
6476
|
+
"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.",
|
|
6477
|
+
"examples": "\n##### Eksempler\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",
|
|
6478
|
+
"completion": {
|
|
6479
|
+
"label": "DefaultValue",
|
|
6480
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
6481
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
6482
|
+
"insertTextMode": 2,
|
|
6483
|
+
"insertTextFormat": 2,
|
|
6484
|
+
"kind": 3,
|
|
6485
|
+
"documentation": {
|
|
6486
|
+
"kind": "markdown",
|
|
6487
|
+
"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**Parametre**\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**Returværdi**: [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`."
|
|
6488
|
+
}
|
|
6489
|
+
},
|
|
6490
|
+
"parametersInfo": {
|
|
6491
|
+
"min": 3,
|
|
6492
|
+
"max": 3
|
|
6493
|
+
}
|
|
6494
|
+
}
|
|
6495
|
+
],
|
|
6058
6496
|
[
|
|
6059
6497
|
{
|
|
6060
6498
|
"type": "function",
|
|
@@ -6230,31 +6668,58 @@
|
|
|
6230
6668
|
"max": 2
|
|
6231
6669
|
}
|
|
6232
6670
|
},
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
"
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
"
|
|
6250
|
-
|
|
6671
|
+
[
|
|
6672
|
+
{
|
|
6673
|
+
"type": "function",
|
|
6674
|
+
"name": "hasvalue",
|
|
6675
|
+
"bundle": "core",
|
|
6676
|
+
"sinceVersion": "1.20",
|
|
6677
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
6678
|
+
"description": "Indicates whether a dictionary has a given key and if that key has a value.",
|
|
6679
|
+
"examples": "\n##### Eksempler\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",
|
|
6680
|
+
"completion": {
|
|
6681
|
+
"label": "HasValue",
|
|
6682
|
+
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
6683
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:key_})$0",
|
|
6684
|
+
"insertTextMode": 2,
|
|
6685
|
+
"insertTextFormat": 2,
|
|
6686
|
+
"kind": 3,
|
|
6687
|
+
"documentation": {
|
|
6688
|
+
"kind": "markdown",
|
|
6689
|
+
"value": "**[Siden 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**Parametre**\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**Returværdi**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6690
|
+
}
|
|
6691
|
+
},
|
|
6692
|
+
"parametersInfo": {
|
|
6693
|
+
"min": 2,
|
|
6694
|
+
"max": 2
|
|
6251
6695
|
}
|
|
6252
6696
|
},
|
|
6253
|
-
|
|
6254
|
-
"
|
|
6255
|
-
"
|
|
6697
|
+
{
|
|
6698
|
+
"type": "function",
|
|
6699
|
+
"name": "hasvalue",
|
|
6700
|
+
"bundle": "core",
|
|
6701
|
+
"sinceVersion": "1.26",
|
|
6702
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
6703
|
+
"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.",
|
|
6704
|
+
"examples": "\n##### Eksempler\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",
|
|
6705
|
+
"completion": {
|
|
6706
|
+
"label": "HasValue",
|
|
6707
|
+
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
6708
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:keys_})$0",
|
|
6709
|
+
"insertTextMode": 2,
|
|
6710
|
+
"insertTextFormat": 2,
|
|
6711
|
+
"kind": 3,
|
|
6712
|
+
"documentation": {
|
|
6713
|
+
"kind": "markdown",
|
|
6714
|
+
"value": "**[Siden 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**Parametre**\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)<[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**Returværdi**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6715
|
+
}
|
|
6716
|
+
},
|
|
6717
|
+
"parametersInfo": {
|
|
6718
|
+
"min": 2,
|
|
6719
|
+
"max": 2
|
|
6720
|
+
}
|
|
6256
6721
|
}
|
|
6257
|
-
|
|
6722
|
+
]
|
|
6258
6723
|
]
|
|
6259
6724
|
},
|
|
6260
6725
|
{
|
|
@@ -6526,7 +6991,7 @@
|
|
|
6526
6991
|
"sinceVersion": "1.12",
|
|
6527
6992
|
"link": "https://developers.arcgis.com/arcade/function-reference/track_functions/#trackdistanceat",
|
|
6528
6993
|
"description": "Summen af de afstande, der er tilbagelagt mellem observationer – fra den første til den aktuelle observation plus den givne værdi.",
|
|
6529
|
-
"examples": "\n##### Eksempler\n\nDin sporing har seks objekter, som kan ses ovenfor. Udtrykket returnerer en værdi for hvert objekt i sporingen. I det første eksempel undersøger vi resultater, når de evalueres for objekt 2 (p2) med en indeksværdi på 2. Beregningen er `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nDin sporing har seks objekter, som kan ses ovenfor. Udtrykket returnerer en værdi for hvert objekt i sporingen. I det følgende eksempel undersøger vi resultater, når de evalueres for objekt 4 (p4) med en indeksværdi på 4. Beregningen er `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(
|
|
6994
|
+
"examples": "\n##### Eksempler\n\nDin sporing har seks objekter, som kan ses ovenfor. Udtrykket returnerer en værdi for hvert objekt i sporingen. I det første eksempel undersøger vi resultater, når de evalueres for objekt 2 (p2) med en indeksværdi på 2. Beregningen er `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nDin sporing har seks objekter, som kan ses ovenfor. Udtrykket returnerer en værdi for hvert objekt i sporingen. I det følgende eksempel undersøger vi resultater, når de evalueres for objekt 4 (p4) med en indeksværdi på 4. Beregningen er `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(4)\n// returns 230\n```\n\n",
|
|
6530
6995
|
"completion": {
|
|
6531
6996
|
"label": "TrackDistanceAt",
|
|
6532
6997
|
"detail": "TrackDistanceAt(index) -> Number",
|