mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibJS: Expose the StringToNumber AO for public use
This will be needed outside of Value.cpp.
This commit is contained in:
parent
a33cad1197
commit
e952dca026
2 changed files with 3 additions and 1 deletions
|
@ -564,6 +564,8 @@ ThrowCompletionOr<TriState> is_less_than(VM&, Value lhs, Value rhs, bool left_fi
|
|||
|
||||
double to_integer_or_infinity(double);
|
||||
|
||||
Optional<Value> string_to_number(StringView);
|
||||
|
||||
inline bool Value::operator==(Value const& value) const { return same_value(*this, value); }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue