Project

General

Profile

Feature #13303

String#any? as !String#empty?

Added by naruse (Yui NARUSE) about 3 years ago. Updated about 1 year ago.

Status:
Feedback
Priority:
Normal
Target version:
-
[ruby-core:80074]

Description

Once I proposed "some container#nonempty?" on #12075, and understand there's Array#any?.

Today I found String doesn't have such method.

Also available in: Atom PDF