if Int(strToCheck) == nil {
  print("Not Int")
} else {
  print("Is Int")
}

results matching ""

    No results matching ""