bucketExists (method)
Checks whether the bucket exists.
Syntax
- (BOOL)bucketExists;
public func bucketExists() throws -> Bool
Remarks
This method checks whether the bucket specified by Bucket exists, returning true if so or false if not.
Note: When ServiceProvider is spLinode (9), this method only considers buckets located in the currently-selected Region. Refer to the Linode section of the Region property's documentation for more information.