Tools.isNullOrWhiteSpace(String value) 方法

定义

Helper function to check if the input string is null or contains only whitespace(s)

public static Boolean isNullOrWhiteSpace(String value)

参数

value
String

The string to check

返回

Boolean

The value true if the input string is empty or contains only whitespace(s)

适用于