Ideas Flashcards
1
Q
Check if string is empty for login page
A
Determine whether a String value is empty by checking its Boolean isEmpty property:
if emptyString.isEmpty {
print(“String is empty”)
}
Check if string is empty for login page
Determine whether a String value is empty by checking its Boolean isEmpty property:
if emptyString.isEmpty {
print(“String is empty”)
}