instance method
Prism::Result#success?
success?
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 710
def success?
errors.empty?
end
Returns true if there were no errors during parsing and false if there were.