mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +00:00
AK: Return bool
in JsonValue::as_bool()
This commit is contained in:
parent
e5cf395a54
commit
e35709cbd2
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public:
|
||||||
return m_value.as_u64;
|
return m_value.as_u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
int as_bool() const
|
bool as_bool() const
|
||||||
{
|
{
|
||||||
VERIFY(is_bool());
|
VERIFY(is_bool());
|
||||||
return m_value.as_bool;
|
return m_value.as_bool;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue