mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibJS: Convert is_less_than() to ThrowCompletionOr
This commit is contained in:
parent
c15a3b0576
commit
b5e28410c5
3 changed files with 14 additions and 14 deletions
|
@ -427,7 +427,7 @@ bool is_strictly_equal(Value lhs, Value rhs);
|
|||
bool same_value(Value lhs, Value rhs);
|
||||
bool same_value_zero(Value lhs, Value rhs);
|
||||
bool same_value_non_numeric(Value lhs, Value rhs);
|
||||
TriState is_less_than(GlobalObject&, bool left_first, Value lhs, Value rhs);
|
||||
ThrowCompletionOr<TriState> is_less_than(GlobalObject&, bool left_first, Value lhs, Value rhs);
|
||||
|
||||
inline bool Value::operator==(Value const& value) const { return same_value(*this, value); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue