@iocium/domhash - v0.2.0
    Preparing search index...

    Function shapeLengthRatio

    • Ratio of the shorter vector's length to the longer one's.

      Parameters

      • a: string[]

        First shape vector

      • b: string[]

        Second shape vector

      Returns number

      1 when both have the same length, 0 when one is empty and the other is not