Function eq

  • Compares two values to check if they are the same. If x is an object with an eq method, it returns x.eq(y). Otherwise it returns the result of x === y.


    true if x and y are equal or false otherwise.


    • x: any
    • y: any

    Returns boolean

Generated using TypeDoc