# Class ComparisonKind

A comparison kind. Either equality, inequality, less than, less than or equals, or ternary comparison.

## Import path

`import semmle.code.csharp.commons.ComparisonTest`

## Direct supertypes

## Predicates

isCompare | Holds if this is a ternary comparison kind. That is, a comparison of the form |

isEquality | Holds if this is an equality kind ( |

isInequality | Holds if this is an inequality kind ( |

isLessThan | Holds if this is a less than kind ( |

isLessThanEquals | Holds if this is a less than or equals kind ( |

toString | Gets a textual representation of this comparison kind. |