blank
1.5.1
blank() -> Boolean
Check if the string is 'blank', meaning either empty or containing only whitespace.
Examples
''.blank();
//-> true
' '.blank();
//-> true
' a '.blank();
//-> false
blank() -> Boolean
Check if the string is 'blank', meaning either empty or containing only whitespace.
''.blank();
//-> true
' '.blank();
//-> true
' a '.blank();
//-> false