Swift - Operator Comparison Operator

Introduction

Swift supports the standard comparison operators available in most programming languages:

  • Equal to ==
  • Not equal to !=
  • Less than <
  • Less than or equal to <=
  • Greater than >
  • Greater than or equal to >=

Related Topics