class RuboCop::Cop::InternalAffairs::OperatorKeyword

Enforces the use of ‘node.operator_keyword?` instead of `node.and_type? || node.or_type?`.

@example

# bad
node.and_type? || node.or_type?
node.or_type? || node.and_type?

# good
node.operator_keyword?