mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
LibJS: Add Value::to_size_t()
This commit is contained in:
parent
62671bea68
commit
65dbe17dd7
Notes:
sideshowbarker
2024-07-19 07:08:25 +09:00
Author: https://github.com/linusg
Commit: 65dbe17dd7
Pull-request: https://github.com/SerenityOS/serenity/pull/2047
Reviewed-by: https://github.com/awesomekling
3 changed files with 13 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue