mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: Add a way to check if a property is readonly
This commit is contained in:
committed by
Andreas Kling
parent
f3ecea1fb3
commit
2b38b2f83b
@@ -48,6 +48,7 @@ public:
|
||||
JsonValue get() const { return m_getter(); }
|
||||
|
||||
const String& name() const { return m_name; }
|
||||
bool is_readonly() const { return !m_setter; }
|
||||
|
||||
private:
|
||||
String m_name;
|
||||
|
||||
Reference in New Issue
Block a user