ee.Image.metadata

Generates a constant image of type double from a metadata property.
UsageReturns
Image.metadata(property, name)Image
ArgumentTypeDetails
this: imageImageThe image from which to get the metadata
propertyStringThe property from which to take the value.
nameString, default: nullThe name for the output band. If unspecified, it will be the same as the property name.