ChemPal Documentation - v0.0.0
    Preparing search index...

    Function matchPercentageSortingFn

    • Custom sorting function for match percentage comparison between two product rows. Compares the match percentage of products and returns a sort order value.

      Parameters

      Returns -1 | 0 | 1

      Returns 1 if rowA -gt rowB, -1 if rowA -lt rowB, 0 if equal