Ruby 4.0 リファレンスマニュアル

instance method Prism::Result#failure?

failure? -> boolRuby 3.4 から[permalink][rdoc][edit]

Prism::Result#success? の否定です。