geetools.Asset.is_feature_collection#

geetools.Asset.is_feature_collection(raised=False)#

Return True if the asset is a feature collection.

Parameters:

raised (bool) – If True, raise an exception if the asset is not a feature collection. Defaults to False.

Return type:

bool

Examples

asset = ee.Asset("projects/ee-geetools/assets/folder/feature_collection")
asset.is_feature_collection()