Rasi
answered Nov 30 '-1 00:00
<=> operator check three condition in one check give differ return based on result
first value = second value return 0
first value < second value return 1
first value > second value return -1
suppose
a<=>b is check will return 0 if a==b
a<=>b is check will return 1 if a>b
a<=>b is check will return -1 if a<b