@versatiles/map-state
    Preparing search index...

    Function sanitizeBackground

    • A valid background with its valid settings, without those that have their default value. Undefined if nothing is left, which is the default background. Of the options only what JSON can hold is kept, since a file and a link keep them as JSON; what they say is not checked, since they belong to @versatiles/style.

      Parameters

      • value: unknown

      Returns StateBackground | undefined