Function compoundeval

  • compoundeval() - helper function for compoundsort(), performing individual object comparisons

    Returns

    0, -1, or 1 to designate if identical (sortwise) or which should be first

    Parameters

    • properties: any[]

      array of property names, in order, by which to evaluate sort order

    • obj1: object

      first object to compare

    • obj2: object

      second object to compare

    Returns number

Generated using TypeDoc