instance method String#empty
String#empty() → Boolean
Checks if the string is empty.
Example
''.empty(); //-> true ' '.empty(); //-> false
String#empty() → Boolean
Checks if the string is empty.
''.empty(); //-> true ' '.empty(); //-> false