转换为字符串
基本类型 / 布尔类型
从字符串转换
转换为字符串
获取值
逻辑运算
let
sunIsStar =
true
let
str =
"
\(sunIsStar)
"
//str is "true"
print
(
"str is
\(str)
"
)
语言
Python
C
C++
Java
C#
JavaScript
R
Rust
Golang
Delphi
PHP
Ruby
Kotlin
Lua
TypeScript
Clojure
Bash
Objective-C