mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
LibJS: Add Value::to_i32() helper function
This commit is contained in:
parent
57646e362f
commit
d02c37f3e3
2 changed files with 13 additions and 2 deletions
|
@ -133,6 +133,7 @@ public:
|
|||
|
||||
String to_string() const;
|
||||
bool to_boolean() const;
|
||||
i32 to_i32() const;
|
||||
|
||||
Value to_object(Heap&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue