Polyman Documentation - v3.0.0
    Preparing search index...

    Function parseTestIndex

    • Extracts the Polygon test index from a test file name.

      Parameters

      • testFile: string

        File name such as test12.txt

      Returns number

      The numeric index, or 0 if the name has no number

      parseTestIndex('test12.txt'); // 12