Home > @hapoosjs/api-buckets > Buckets > bucketExists
Check if a bucket of a given name exists
Signature:
bucketExists(bucketName: string): Promise<boolean>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Target bucket name |
Returns:
Promise<boolean>