Map.layers

Returns the list of layers associated with the default map.
UsageReturns
Map.layers()ui.data.ActiveList

No arguments.