Bucket.prototype.title()

Get the title of a bucket.

Syntax

bucket.title() string

Description

Get the title of a bucket.

As opposed to the bucket’s name, the bucket’s title may contain spaces and other special characters.

Examples

Title of a defined bucket with custom title.

If a defined bucket’s title is empty, it falls back on the bucket’s name.

Title of an undefined bucket falls back on the bucket’s name.