class RuboCop::Cop::InternalAffairs::NodeTypePredicate

Checks that node types are checked using the predicate helpers.

@example

# bad
node.type == :send

# good
node.send_type?