@arcgis/coding-components 4.29.0-beta.59 → 4.29.0-beta.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +26 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +26 -1
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +26 -1
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +26 -1
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +26 -1
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +26 -1
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +26 -1
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +26 -1
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +26 -1
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +26 -1
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +26 -1
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +26 -1
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +26 -1
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +26 -1
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +26 -1
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +26 -1
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +26 -1
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +26 -1
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +26 -1
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +26 -1
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +26 -1
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +26 -1
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +26 -1
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +26 -1
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +26 -1
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +26 -1
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +26 -1
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +26 -1
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +26 -1
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +26 -1
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +26 -1
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +26 -1
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +26 -1
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +26 -1
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +26 -1
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +26 -1
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +26 -1
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +26 -1
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +26 -1
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +26 -1
  41. package/package.json +6 -6
@@ -2207,6 +2207,31 @@
2207
2207
  "max": 2
2208
2208
  }
2209
2209
  },
2210
+ {
2211
+ "type": "function",
2212
+ "name": "filterbysubtypecode",
2213
+ "bundle": "data-access",
2214
+ "sinceVersion": "1.25",
2215
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2216
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
2217
+ "examples": "\n##### مثال\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2218
+ "completion": {
2219
+ "label": "FilterBySubtypeCode",
2220
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
2221
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
2222
+ "insertTextMode": 2,
2223
+ "insertTextFormat": 2,
2224
+ "kind": 3,
2225
+ "documentation": {
2226
+ "kind": "markdown",
2227
+ "value": "**[إصدار متعدد 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**معلمات**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - The FeatureSet, or layer, to filter.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The subtype code used to filter features in the FeatureSet or layer.\n\n**إرجاع القيمة**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2228
+ }
2229
+ },
2230
+ "parametersInfo": {
2231
+ "min": 2,
2232
+ "max": 2
2233
+ }
2234
+ },
2210
2235
  {
2211
2236
  "type": "function",
2212
2237
  "name": "first",
@@ -3149,7 +3174,7 @@
3149
3174
  "bundle": "core",
3150
3175
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
3151
3176
  "description": "طرح التاريخين وإرجاع الفرق بالوحدات المحددة.",
3152
- "examples": "\n##### أمثلة\n\nطرح التاريخين وإرجاع العمر\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nطرح التاريخين وإرجاع الفرق. نظرًا إلى أن المنطقة الزمنية هي لوس إنجلوس\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
3177
+ "examples": "\n##### أمثلة\n\nطرح التاريخين وإرجاع العمر\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nبيت_Subtracts two Dates and returns the difference_________________________لاحقة.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
3153
3178
  "completion": {
3154
3179
  "label": "DateDiff",
3155
3180
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3606,7 +3606,7 @@
3606
3606
  "bundle": "core",
3607
3607
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
3608
3608
  "description": "Изважда две дати и връща разликата в посочените мерни единици.",
3609
- "examples": "\n##### Примери\n\nИзважда две дати и връща възрастта\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nИзважда две дати и връща разликата. Тъй като часовата зона е Лос Анджелис\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
3609
+ "examples": "\n##### Примери\n\nИзважда две дати и връща възрастта\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nй_Subtracts two Dates and returns the difference_________________________й.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
3610
3610
  "completion": {
3611
3611
  "label": "DateDiff",
3612
3612
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -6130,6 +6130,31 @@
6130
6130
  "max": 2
6131
6131
  }
6132
6132
  },
6133
+ {
6134
+ "type": "function",
6135
+ "name": "filterbysubtypecode",
6136
+ "bundle": "data-access",
6137
+ "sinceVersion": "1.25",
6138
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
6139
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
6140
+ "examples": "\n##### Пример\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
6141
+ "completion": {
6142
+ "label": "FilterBySubtypeCode",
6143
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
6144
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
6145
+ "insertTextMode": 2,
6146
+ "insertTextFormat": 2,
6147
+ "kind": 3,
6148
+ "documentation": {
6149
+ "kind": "markdown",
6150
+ "value": "**[От версия 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Параметри**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - The FeatureSet, or layer, to filter.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The subtype code used to filter features in the FeatureSet or layer.\n\n**Стойност за връщане**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
6151
+ }
6152
+ },
6153
+ "parametersInfo": {
6154
+ "min": 2,
6155
+ "max": 2
6156
+ }
6157
+ },
6133
6158
  {
6134
6159
  "type": "function",
6135
6160
  "name": "first",
@@ -412,7 +412,7 @@
412
412
  "bundle": "core",
413
413
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
414
414
  "description": "Oduzima dva datuma i vraća razliku u danim jedinicama.",
415
- "examples": "\n##### Primjeri\n\nOduzima dva datuma i vraća dob\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nOduzima dva datuma i vraća razliku. Budući da je vremenska zona Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
415
+ "examples": "\n##### Primjeri\n\nOduzima dva datuma i vraća dob\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",
416
416
  "completion": {
417
417
  "label": "DateDiff",
418
418
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -4727,6 +4727,31 @@
4727
4727
  "max": 2
4728
4728
  }
4729
4729
  },
4730
+ {
4731
+ "type": "function",
4732
+ "name": "filterbysubtypecode",
4733
+ "bundle": "data-access",
4734
+ "sinceVersion": "1.25",
4735
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
4736
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
4737
+ "examples": "\n##### Primjer\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
4738
+ "completion": {
4739
+ "label": "FilterBySubtypeCode",
4740
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
4741
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
4742
+ "insertTextMode": 2,
4743
+ "insertTextFormat": 2,
4744
+ "kind": 3,
4745
+ "documentation": {
4746
+ "kind": "markdown",
4747
+ "value": "**[Od verzije 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parametri**\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**Povratna vrijednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
4748
+ }
4749
+ },
4750
+ "parametersInfo": {
4751
+ "min": 2,
4752
+ "max": 2
4753
+ }
4754
+ },
4730
4755
  {
4731
4756
  "type": "function",
4732
4757
  "name": "first",
@@ -736,7 +736,7 @@
736
736
  "bundle": "core",
737
737
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
738
738
  "description": "Sostreu dues dates i retorna la diferència en les unitats especificades.",
739
- "examples": "\n##### Exemples\n\nSostreu dues dates i retorna l'edat\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSostreu dues dates i retorna la diferència Atès que la zona horària és Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
739
+ "examples": "\n##### Exemples\n\nSostreu dues dates i retorna l'edat\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",
740
740
  "completion": {
741
741
  "label": "DateDiff",
742
742
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -2374,6 +2374,31 @@
2374
2374
  "max": 2
2375
2375
  }
2376
2376
  },
2377
+ {
2378
+ "type": "function",
2379
+ "name": "filterbysubtypecode",
2380
+ "bundle": "data-access",
2381
+ "sinceVersion": "1.25",
2382
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2383
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
2384
+ "examples": "\n##### Exemple\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2385
+ "completion": {
2386
+ "label": "FilterBySubtypeCode",
2387
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
2388
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
2389
+ "insertTextMode": 2,
2390
+ "insertTextFormat": 2,
2391
+ "kind": 3,
2392
+ "documentation": {
2393
+ "kind": "markdown",
2394
+ "value": "**[A partir de la versió 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Paràmetres**\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**Valor de retorn**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2395
+ }
2396
+ },
2397
+ "parametersInfo": {
2398
+ "min": 2,
2399
+ "max": 2
2400
+ }
2401
+ },
2377
2402
  {
2378
2403
  "type": "function",
2379
2404
  "name": "first",
@@ -381,7 +381,7 @@
381
381
  "bundle": "core",
382
382
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
383
383
  "description": "Odečte dvě data a vrátí rozdíl v určených jednotkách.",
384
- "examples": "\n##### Příklady\n\nOdečte dvě data a vrátí stáří\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nOdečte dvě data a vrátí rozdíl. Jelikož časové pásmo je Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
384
+ "examples": "\n##### Příklady\n\nOdečte dvě data a vrátí stáří\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",
385
385
  "completion": {
386
386
  "label": "DateDiff",
387
387
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -2962,6 +2962,31 @@
2962
2962
  "max": 2
2963
2963
  }
2964
2964
  },
2965
+ {
2966
+ "type": "function",
2967
+ "name": "filterbysubtypecode",
2968
+ "bundle": "data-access",
2969
+ "sinceVersion": "1.25",
2970
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2971
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
2972
+ "examples": "\n##### Příklad\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2973
+ "completion": {
2974
+ "label": "FilterBySubtypeCode",
2975
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
2976
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
2977
+ "insertTextMode": 2,
2978
+ "insertTextFormat": 2,
2979
+ "kind": 3,
2980
+ "documentation": {
2981
+ "kind": "markdown",
2982
+ "value": "**[Od verze 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parametry**\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**Vrácená hodnota**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
2983
+ }
2984
+ },
2985
+ "parametersInfo": {
2986
+ "min": 2,
2987
+ "max": 2
2988
+ }
2989
+ },
2965
2990
  {
2966
2991
  "type": "function",
2967
2992
  "name": "first",
@@ -1036,7 +1036,7 @@
1036
1036
  "bundle": "core",
1037
1037
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1038
1038
  "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\nTrækker to datoer fra hinanden og returnerer forskellen. Fordi tidszonen er Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
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\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
1040
  "completion": {
1041
1041
  "label": "DateDiff",
1042
1042
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -2444,6 +2444,31 @@
2444
2444
  "max": 2
2445
2445
  }
2446
2446
  },
2447
+ {
2448
+ "type": "function",
2449
+ "name": "filterbysubtypecode",
2450
+ "bundle": "data-access",
2451
+ "sinceVersion": "1.25",
2452
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
2453
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
2454
+ "examples": "\n##### Eksempel\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
2455
+ "completion": {
2456
+ "label": "FilterBySubtypeCode",
2457
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
2458
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
2459
+ "insertTextMode": 2,
2460
+ "insertTextFormat": 2,
2461
+ "kind": 3,
2462
+ "documentation": {
2463
+ "kind": "markdown",
2464
+ "value": "**[Siden version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**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)"
2465
+ }
2466
+ },
2467
+ "parametersInfo": {
2468
+ "min": 2,
2469
+ "max": 2
2470
+ }
2471
+ },
2447
2472
  {
2448
2473
  "type": "function",
2449
2474
  "name": "first",
@@ -1036,7 +1036,7 @@
1036
1036
  "bundle": "core",
1037
1037
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1038
1038
  "description": "Subtrahiert zwei Datumsangaben und gibt die Differenz in den angegebenen Einheiten zurück.",
1039
- "examples": "\n##### Beispiele\n\nSubtrahiert zwei Datumsangaben und gibt das Alter zurück.\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtrahiert zwei Datumsangaben und gibt die Differenz zurück. Since Die Zeitzone ist 'Los Angeles'\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1039
+ "examples": "\n##### Beispiele\n\nSubtrahiert zwei Datumsangaben und gibt das Alter zurück.\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
1040
  "completion": {
1041
1041
  "label": "DateDiff",
1042
1042
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3060,6 +3060,31 @@
3060
3060
  "max": 2
3061
3061
  }
3062
3062
  },
3063
+ {
3064
+ "type": "function",
3065
+ "name": "filterbysubtypecode",
3066
+ "bundle": "data-access",
3067
+ "sinceVersion": "1.25",
3068
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
3069
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
3070
+ "examples": "\n##### Beispiel\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
3071
+ "completion": {
3072
+ "label": "FilterBySubtypeCode",
3073
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
3074
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
3075
+ "insertTextMode": 2,
3076
+ "insertTextFormat": 2,
3077
+ "kind": 3,
3078
+ "documentation": {
3079
+ "kind": "markdown",
3080
+ "value": "**[Seit Version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parameter**\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**Rückgabewert**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
3081
+ }
3082
+ },
3083
+ "parametersInfo": {
3084
+ "min": 2,
3085
+ "max": 2
3086
+ }
3087
+ },
3063
3088
  {
3064
3089
  "type": "function",
3065
3090
  "name": "first",
@@ -3279,6 +3279,31 @@
3279
3279
  "max": 2
3280
3280
  }
3281
3281
  },
3282
+ {
3283
+ "type": "function",
3284
+ "name": "filterbysubtypecode",
3285
+ "bundle": "data-access",
3286
+ "sinceVersion": "1.25",
3287
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
3288
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
3289
+ "examples": "\n##### Παράδειγμα\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
3290
+ "completion": {
3291
+ "label": "FilterBySubtypeCode",
3292
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
3293
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
3294
+ "insertTextMode": 2,
3295
+ "insertTextFormat": 2,
3296
+ "kind": 3,
3297
+ "documentation": {
3298
+ "kind": "markdown",
3299
+ "value": "**[Από την έκδοση 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Παράμετροι**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - The FeatureSet, or layer, to filter.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The subtype code used to filter features in the FeatureSet or layer.\n\n**Τιμή επιστροφής**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
3300
+ }
3301
+ },
3302
+ "parametersInfo": {
3303
+ "min": 2,
3304
+ "max": 2
3305
+ }
3306
+ },
3282
3307
  {
3283
3308
  "type": "function",
3284
3309
  "name": "first",
@@ -4276,7 +4301,7 @@
4276
4301
  "bundle": "core",
4277
4302
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
4278
4303
  "description": "Αφαιρεί δύο ημερομηνίες και επιστρέφει τη διαφορά στις καθορισμένες μονάδες.",
4279
- "examples": "\n##### Παραδείγματα\n\nΑφαιρεί δύο ημερομηνίες και επιστρέφει την ηλικία\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nΑφαιρεί δύο ημερομηνίες και επιστρέφει τη διαφορά. Επειδή η ζώνη ώρας είναι το Λος Άντζελες\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
4304
+ "examples": "\n##### Παραδείγματα\n\nΑφαιρεί δύο ημερομηνίες και επιστρέφει την ηλικία\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nĐ_Subtracts two Dates and returns the difference_________________________ớ.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
4280
4305
  "completion": {
4281
4306
  "label": "DateDiff",
4282
4307
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -1036,7 +1036,7 @@
1036
1036
  "bundle": "core",
1037
1037
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1038
1038
  "description": "Subtracts two Dates, and returns the difference in the specified units.",
1039
- "examples": "\n##### Examples\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference. Since the time zone is Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1039
+ "examples": "\n##### Examples\n\nSubtracts two Dates and returns the age\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSubtracts two Dates and returns the difference.\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
1040
  "completion": {
1041
1041
  "label": "DateDiff",
1042
1042
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3060,6 +3060,31 @@
3060
3060
  "max": 2
3061
3061
  }
3062
3062
  },
3063
+ {
3064
+ "type": "function",
3065
+ "name": "filterbysubtypecode",
3066
+ "bundle": "data-access",
3067
+ "sinceVersion": "1.25",
3068
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
3069
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
3070
+ "examples": "\n##### Example\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
3071
+ "completion": {
3072
+ "label": "FilterBySubtypeCode",
3073
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
3074
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
3075
+ "insertTextMode": 2,
3076
+ "insertTextFormat": 2,
3077
+ "kind": 3,
3078
+ "documentation": {
3079
+ "kind": "markdown",
3080
+ "value": "**[Since version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parameters**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - The FeatureSet, or layer, to filter.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The subtype code used to filter features in the FeatureSet or layer.\n\n**Return value**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
3081
+ }
3082
+ },
3083
+ "parametersInfo": {
3084
+ "min": 2,
3085
+ "max": 2
3086
+ }
3087
+ },
3063
3088
  {
3064
3089
  "type": "function",
3065
3090
  "name": "first",
@@ -997,7 +997,7 @@
997
997
  "bundle": "core",
998
998
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
999
999
  "description": "Sustrae dos Fechas y devuelve la diferencia en las unidades especificadas.",
1000
- "examples": "\n##### Ejemplos\n\nSustrae dos Fechas y devuelve la edad\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nSustrae dos Fechas y devuelve la diferencia. Ya que la zona horaria es Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1000
+ "examples": "\n##### Ejemplos\n\nSustrae dos Fechas y devuelve la edad\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",
1001
1001
  "completion": {
1002
1002
  "label": "DateDiff",
1003
1003
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -5651,6 +5651,31 @@
5651
5651
  "max": 2
5652
5652
  }
5653
5653
  },
5654
+ {
5655
+ "type": "function",
5656
+ "name": "filterbysubtypecode",
5657
+ "bundle": "data-access",
5658
+ "sinceVersion": "1.25",
5659
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
5660
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
5661
+ "examples": "\n##### Ejemplo\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
5662
+ "completion": {
5663
+ "label": "FilterBySubtypeCode",
5664
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
5665
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
5666
+ "insertTextMode": 2,
5667
+ "insertTextFormat": 2,
5668
+ "kind": 3,
5669
+ "documentation": {
5670
+ "kind": "markdown",
5671
+ "value": "**[A partir de la versión 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parámetros**\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**Valor de retorno**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5672
+ }
5673
+ },
5674
+ "parametersInfo": {
5675
+ "min": 2,
5676
+ "max": 2
5677
+ }
5678
+ },
5654
5679
  {
5655
5680
  "type": "function",
5656
5681
  "name": "first",
@@ -1971,7 +1971,7 @@
1971
1971
  "bundle": "core",
1972
1972
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
1973
1973
  "description": "Lahutab üksteisest kaks kuupäeva ja tagastab nende vahele jääva aja määratud ühikutes.",
1974
- "examples": "\n##### Näited\n\nLahutab üksteisest kaks kuupäeva ja tagastab vanuse\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nLahutab üksteisest kaks kuupäeva ja tagastab erinevuse Kuna ajavöönd on Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1974
+ "examples": "\n##### Näited\n\nLahutab üksteisest kaks kuupäeva ja tagastab vanuse\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nŠ_Subtracts two Dates and returns the difference_________________________ä.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
1975
1975
  "completion": {
1976
1976
  "label": "DateDiff",
1977
1977
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -5398,6 +5398,31 @@
5398
5398
  "max": 2
5399
5399
  }
5400
5400
  },
5401
+ {
5402
+ "type": "function",
5403
+ "name": "filterbysubtypecode",
5404
+ "bundle": "data-access",
5405
+ "sinceVersion": "1.25",
5406
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
5407
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
5408
+ "examples": "\n##### Näide\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
5409
+ "completion": {
5410
+ "label": "FilterBySubtypeCode",
5411
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
5412
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
5413
+ "insertTextMode": 2,
5414
+ "insertTextFormat": 2,
5415
+ "kind": 3,
5416
+ "documentation": {
5417
+ "kind": "markdown",
5418
+ "value": "**[Alates versioonist 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parameetrid**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - The FeatureSet, or layer, to filter.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The subtype code used to filter features in the FeatureSet or layer.\n\n**Tagastusväärtus**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
5419
+ }
5420
+ },
5421
+ "parametersInfo": {
5422
+ "min": 2,
5423
+ "max": 2
5424
+ }
5425
+ },
5401
5426
  {
5402
5427
  "type": "function",
5403
5428
  "name": "first",
@@ -680,6 +680,31 @@
680
680
  "max": 2
681
681
  }
682
682
  },
683
+ {
684
+ "type": "function",
685
+ "name": "filterbysubtypecode",
686
+ "bundle": "data-access",
687
+ "sinceVersion": "1.25",
688
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
689
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
690
+ "examples": "\n##### Esimerkki\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
691
+ "completion": {
692
+ "label": "FilterBySubtypeCode",
693
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
694
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
695
+ "insertTextMode": 2,
696
+ "insertTextFormat": 2,
697
+ "kind": 3,
698
+ "documentation": {
699
+ "kind": "markdown",
700
+ "value": "**[Lähtien versiosta 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Parametrit**\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**Palauta arvo**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
701
+ }
702
+ },
703
+ "parametersInfo": {
704
+ "min": 2,
705
+ "max": 2
706
+ }
707
+ },
683
708
  {
684
709
  "type": "function",
685
710
  "name": "first",
@@ -5123,7 +5148,7 @@
5123
5148
  "bundle": "core",
5124
5149
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
5125
5150
  "description": "Laskee kahden päivämäärän välisen aikaeron ja palauttaa sen määritetyn aikayksikön mukaisena arvona.",
5126
- "examples": "\n##### Esimerkit\n\nLaskee kahden päivämäärän välisen aikaeron ja palauttaa iän\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nLaskee kahden päivämäärän välisen aikaeron ja palauttaa sen. Koska aikavyöhyke on Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
5151
+ "examples": "\n##### Esimerkit\n\nLaskee kahden päivämäärän välisen aikaeron ja palauttaa iän\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nÅ_Subtracts two Dates and returns the difference_________________________ö.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
5127
5152
  "completion": {
5128
5153
  "label": "DateDiff",
5129
5154
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -767,7 +767,7 @@
767
767
  "bundle": "core",
768
768
  "link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
769
769
  "description": "Opère une soustraction entre deux dates et renvoie la différence dans les unités spécifiées.",
770
- "examples": "\n##### Exemples\n\nOpère une soustraction entre deux dates et renvoie l’âge\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nOpère une soustraction entre deux dates et renvoie la différence. Étant donné que le fuseau horaire est celui de Los Angeles\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
770
+ "examples": "\n##### Exemples\n\nOpère une soustraction entre deux dates et renvoie l’âge\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",
771
771
  "completion": {
772
772
  "label": "DateDiff",
773
773
  "detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
@@ -3964,6 +3964,31 @@
3964
3964
  "max": 2
3965
3965
  }
3966
3966
  },
3967
+ {
3968
+ "type": "function",
3969
+ "name": "filterbysubtypecode",
3970
+ "bundle": "data-access",
3971
+ "sinceVersion": "1.25",
3972
+ "link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
3973
+ "description": "Creates a new FeatureSet with all the features matching the given subtype code.",
3974
+ "examples": "\n##### Exemple\n\nFilter features with the subtype code\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
3975
+ "completion": {
3976
+ "label": "FilterBySubtypeCode",
3977
+ "detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
3978
+ "insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
3979
+ "insertTextMode": 2,
3980
+ "insertTextFormat": 2,
3981
+ "kind": 3,
3982
+ "documentation": {
3983
+ "kind": "markdown",
3984
+ "value": "**[Depuis la version 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a new FeatureSet with all the features matching the given subtype code.\n\n**Paramètres**\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**Valeur de retour**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
3985
+ }
3986
+ },
3987
+ "parametersInfo": {
3988
+ "min": 2,
3989
+ "max": 2
3990
+ }
3991
+ },
3967
3992
  {
3968
3993
  "type": "function",
3969
3994
  "name": "first",