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 | number

        A key name or character, or a numeric virtual key code

      Returns boolean

      True if the combination can be bound, otherwise False