Function compare

  • Compare two objects.

    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

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

Generated using TypeDoc