mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibJS: Add Value::to_double() for convenience
This commit is contained in:
parent
a9779e12ea
commit
2ffa054574
Notes:
sideshowbarker
2024-07-19 07:48:42 +09:00
Author: https://github.com/awesomekling
Commit: 2ffa054574
2 changed files with 6 additions and 0 deletions
|
@ -146,6 +146,7 @@ public:
|
|||
bool to_boolean() const;
|
||||
Value to_number() const;
|
||||
i32 to_i32() const;
|
||||
double to_double() const;
|
||||
|
||||
Object* to_object(Heap&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue