Project

General

Profile

Actions

Feature #13303

closed

String#any? as !String#empty?

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

Status:
Feedback
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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0