Home > @hapoosjs/api-buckets > Buckets > bucketExists

Buckets.bucketExists() method

Check if a bucket of a given name exists

Signature:

bucketExists(bucketName: string): Promise<boolean>;

Parameters

Parameter Type Description
bucketName string Target bucket name

Returns:

Promise<boolean>