KotlinStringisEmpty

Returns true if the string is empty.

Syntax

str.isEmpty()