目录

isEmpty

如果字符串为空,则返回true ; else返回false

语法 (Syntax)

String.isEmpty

例子 (Example)

void main() { 
   String str = "Hello"; 
   print(str.isEmpty); 
} 

它将产生以下output - 。

False 
↑回到顶部↑
WIKI教程 @2018