Instance MethodMethodswift
swiftStringLiteral(_:)
Returns a Swift string literal for a single-line value.
func swiftStringLiteral(_ value: String) -> StringParameters
valueThe string to encode.
Return Value
The quoted literal with backslashes, quotes and control characters escaped.