How to compare values with OpenFHE

Hello! A bit new to OpenFHE but I was wondering if there was a way to compare two encrypted numbers (operations like >, <, ==, !=, etc.)

On the documentation I find this: “OpenFHE also supports switching between CKKS and FHEW/TFHE to evaluate non-smooth functions, e.g., comparison, using FHEW/TFHE functional bootstrapping.”

Is there an example of this on the github/documentation?

I suggest looking at the main scheme switching example (openfhe-development/src/pke/examples/scheme-switching.cpp at main · openfheorg/openfhe-development · GitHub) and documentation file at openfhe-development/src/pke/examples/SCHEME_SWITCHING_CAPABILITY.md at main · openfheorg/openfhe-development · GitHub