We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14a798a commit e991f74Copy full SHA for e991f74
src/api/storage/v0/storage.ts
@@ -327,7 +327,7 @@ export class File {
327
*
328
* const exampleBucket = bucket('exampleBucket').for('reading');
329
330
- * const exists = await storage.bucket("my-bucket").file("my-item").exists();
+ * const exists = await exampleBucket.file("my-item").exists();
331
* ```
332
*/
333
public async exists(): Promise<boolean> {
0 commit comments