Documentation
    Preparing search index...

    Function getChordFretSpan

    • Returns how many frets does the passed chord take.

      Parameters

      • input: string

        The chord input

      Returns number

      The chord fret span

      getChordFretSpan("x32010") // returns 3
      
      getChordFretSpan("x5454x") // returns 3
      
      getChordFretSpan("xx5432") // returns 4