1
Fork 0
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:
Andreas Kling 2020-03-15 15:00:18 +01:00
parent 57646e362f
commit d02c37f3e3
2 changed files with 13 additions and 2 deletions

View file

@ -133,6 +133,7 @@ public:
String to_string() const;
bool to_boolean() const;
i32 to_i32() const;
Value to_object(Heap&) const;