Skip to main content

flip

Function flip 

Source
const fn flip(op: BinOpKind) -> BinOpKind
Expand description

Returns the equivalent operator after swapping left and right operands. e.g. const < var rewritten as var > const needs Gt.