isEmpty

open fun isEmpty(str: String): Boolean

Determines if given string is empty or null.

Return

true if the String is null or contains only whitespace, false otherwise

Parameters

str

the String to evaluate