class RuboCop::AST::InPatternNode

def then?

Returns:
  • (Boolean) - whether the `in` node has a `then` keyword
def then?
  loc.begin&.is?('then')
end