Function compare

  • Compare two objects.

    Returns

    x=y: 0, otherwise: -ve/+ve

    Parameters

    • x: object

      an object

    • y: object

      another object

    • fc: CompareFunction = null

      compare function (a, b)

    • fm: MapFunction = null

      map function (v, k, x)

    Returns number

Generated using TypeDoc