Lines Matching defs:bool
56 PreferencesValue::PreferencesValue(bool value)
81 PreferencesValue::PreferencesValue(std::vector<bool> value)
119 bool PreferencesValue::IsInt() const
124 bool PreferencesValue::IsLong() const
129 bool PreferencesValue::IsFloat() const
134 bool PreferencesValue::IsDouble() const
139 bool PreferencesValue::IsBool() const
141 return std::holds_alternative<bool>(value_);
144 bool PreferencesValue::IsString() const
149 bool PreferencesValue::IsDoubleArray() const
154 bool PreferencesValue::IsUint8Array() const
159 bool PreferencesValue::IsObject() const
164 bool PreferencesValue::IsStringArray() const
169 bool PreferencesValue::IsBoolArray() const
171 return std::holds_alternative<std::vector<bool>>(value_);
174 bool PreferencesValue::IsBigInt() const
199 PreferencesValue::operator bool() const
201 return std::get<bool>(value_);
214 PreferencesValue::operator std::vector<bool>() const
216 return std::get<std::vector<bool>>(value_);
239 bool PreferencesValue::operator==(const PreferencesValue &value)