@witchcraft/spellcraft
    Preparing search index...

    Function getLabel

    • Returns the label, adding an (On) or (Off) suffix to any toggle keys.

      If the key has not label, uses the id

      Used by the defaultStringifier

      Parameters

      • id: undefined | string
      • key: Key

      Returns string