Function compare

  • Compare two sets.

    Type Parameters

    • T

    Parameters

    • x: Set<T>

      a set

    • y: Set<T>

      another set

    Returns number

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

Generated using TypeDoc