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

    Function sanitizeLegend

    • A valid legend, without the settings that have their default value and with the valid styles of its entries, or undefined if it is none. Entries without a valid type are left out.

      Parameters

      • value: unknown

      Returns StateLegend | undefined