mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK+GMLCompiler+LibWeb: Remove JsonValue::is_double
This concludes a series of patches which remove the ability to observe which arithmetic type is used to store number in JsonValue.
This commit is contained in:
committed by
Andrew Kaster
parent
faef802229
commit
c49819cced
@@ -241,14 +241,6 @@ bool JsonObject::has_object(StringView key) const
|
||||
return value.has_value() && value->is_object();
|
||||
}
|
||||
|
||||
#ifndef KERNEL
|
||||
bool JsonObject::has_double(StringView key) const
|
||||
{
|
||||
auto value = get(key);
|
||||
return value.has_value() && value->is_double();
|
||||
}
|
||||
#endif
|
||||
|
||||
void JsonObject::set(ByteString const& key, JsonValue value)
|
||||
{
|
||||
m_members.set(key, move(value));
|
||||
|
||||
Reference in New Issue
Block a user