mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
LibJS: Convert has_own_property() to ThrowCompletionOr
This commit is contained in:
parent
f38a5957bf
commit
3be26f56db
9 changed files with 23 additions and 23 deletions
|
@ -656,7 +656,7 @@ JsonObject Sheet::gather_documentation() const
|
|||
return;
|
||||
|
||||
auto& value_object = value.is_object() ? value.as_object() : value.as_function();
|
||||
if (!value_object.has_own_property(doc_name))
|
||||
if (!value_object.has_own_property(doc_name).release_value())
|
||||
return;
|
||||
|
||||
dbgln("Found '{}'", it.key.to_display_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue