@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
public extension Bool {
|
||||
func toString() -> String {
|
||||
if self {
|
||||
return String(localized: "true")
|
||||
} else {
|
||||
return String(localized: "false")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user