ui.Map.layers

Returns the list of layers associated with the map.
UsageReturns
Map.layers()ui.data.ActiveList
ArgumentTypeDetails
this: ui.mapui.MapThe ui.Map instance.