How do I compare the values in ‘Mono’?

Comparing the values in Mono a and Mono b, if the value in Mono a is larger, I want to throw an error. Mono a = getA(); Mono …