Preparing search index...

    Function getDefaultPersons

    • Reads the default serving-persons preference from storage.

      Falls back to DEFAULT_SETTINGS.defaultPersons when the value has not been set or storage fails.

      Returns Promise<number>

      The saved default number of persons, or 4 as the fallback.