bool
💡 A light switch: only ON (True) or OFF (False)
Boolean type representing True or False.
中文对照 · Chinese
💡 只有开和关两种状态的电灯开关
只有真(True/1)和假(False/0)两种结果,专门配合 if 判断。
Code example
bool is_sunny = true;Explore 100 bilingual word cards →
Boolean type representing True or False.
💡 只有开和关两种状态的电灯开关
只有真(True/1)和假(False/0)两种结果,专门配合 if 判断。
bool is_sunny = true;Explore 100 bilingual word cards →