hammerspoon2-docs
    Preparing search index...

    Function assignable

    • Check whether a key combination is available to be bound (i.e. not already claimed by macOS)

      Parameters

      • mods: string[]

        An array of modifier key strings

      • key: string

        The key name or character

      Returns boolean

      True if the combination can be bound, otherwise False