blank :: String
blank() -> Boolean
Check if the string is 'blank', meaning either empty or containing only whitespace.
''.blank();
//-> true
' '.blank();
' a '.blank();
//-> false
Prototype API 1.5.0 - prototypejs.org