Problem

Return true if s.length() > 0.

Examples

  • nonEmpty("a") -> true
  • nonEmpty("") -> false
Compile and test (Ctrl+Enter)