In the June release of the ArcGIS API for JavaScript (JS API), version 4.20, we added support for subtype group layers via a new layer called SubtypeGroupLayer.
How to use the SubtypeGroupLayer with the ArcGIS API for JavaScript (esri.com)
In the June release of the ArcGIS API for JavaScript (JS API), version 4.20, we added support for subtype group layers via a new layer called SubtypeGroupLayer.
How to use the SubtypeGroupLayer with the ArcGIS API for JavaScript (esri.com)