Преобразование в строку

Простые типы / Логический тип

let sunIsStar = true
let str = "\(sunIsStar)"
//str is "true"

print("str is \(str)")