ee.Image.bandNames

Returns a list containing the names of the bands of an image.

UsageReturns
Image.bandNames()List
ArgumentTypeDetails
this: imageImageThe image from which to get band names.