Skip to contents

Convert a math comparator to it's inverse

Usage

comparison_inverse(x)

Arguments

x

chr/fun Math comparator, one of <, >, <=, >=

Value

chr/fun the inverse comparator as the same class as x

Examples

comparison_inverse(">=")
#> [1] "<"