empty :: String

empty() -> Boolean

 

Checks if the string is empty.

 

''.empty();

//-> true

 

'  '.empty();

//-> false

 

 


Prototype API 1.5.0 - prototypejs.org