1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

LibJS: Add Value::to_size_t()

This commit is contained in:
Linus Groh 2020-04-30 22:41:30 +01:00 committed by Andreas Kling
parent 62671bea68
commit 65dbe17dd7
3 changed files with 13 additions and 4 deletions

View file

@ -162,6 +162,7 @@ public:
Value to_number() const;
i32 to_i32() const;
double to_double() const;
size_t to_size_t() const;
Value to_primitive(Interpreter&) const;
Object* to_object(Heap&) const;