company logo

String :: isEmpty - Determines whether the string contains no data.

The function returns true , when the string is null or contains an empty string data area. In contrast to isNull () an empty string may contain information about coding type.

odaba::String().isEmpty();            // returns true

odaba::String("").isEmpty();          // returns true

odaba::String("x").isEmpty();         // returns false

odaba::String(false).isEmpty();       // returns false

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation details

bool String  :: isEmpty (  )