class RuboCop::AST::NodePattern::Node

def matches_within_set?

Returns:
  • (Boolean) - returns true for nodes having a Ruby literal equivalent
def matches_within_set?
  MATCHES_WITHIN_SET.include?(type)
end