mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibJS: Switch is_array to ThrowCompletionOr
This commit is contained in:
parent
0b9e633482
commit
1db7e096e2
6 changed files with 15 additions and 26 deletions
|
@ -62,7 +62,7 @@ public:
|
|||
bool is_bigint() const { return m_type == Type::BigInt; };
|
||||
bool is_nullish() const { return is_null() || is_undefined(); }
|
||||
bool is_cell() const { return is_string() || is_accessor() || is_object() || is_bigint() || is_symbol(); }
|
||||
bool is_array(GlobalObject&) const;
|
||||
ThrowCompletionOr<bool> is_array(GlobalObject&) const;
|
||||
bool is_function() const;
|
||||
bool is_constructor() const;
|
||||
bool is_regexp(GlobalObject&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue