src code

instance method String#empty

String#empty() → Boolean

Checks if the string is empty.

Example
''.empty();
//-> true
 '  '.empty();
//-> false