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

LibJS: Add const Value::as_function()

This commit is contained in:
Linus Groh 2021-09-25 09:43:34 +02:00
parent 2dba048146
commit e14f420a44
2 changed files with 7 additions and 0 deletions

View file

@ -240,6 +240,7 @@ public:
Array& as_array();
FunctionObject& as_function();
FunctionObject const& as_function() const;
i32 as_i32() const;
u32 as_u32() const;