1
Fork 0
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:
Idan Horowitz 2021-10-18 23:42:47 +03:00 committed by Linus Groh
parent c15a3b0576
commit b5e28410c5
3 changed files with 14 additions and 14 deletions

View file

@ -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); }