summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/ObjectDerivatives.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibPDF/ObjectDerivatives.h')
-rw-r--r--Userland/Libraries/LibPDF/ObjectDerivatives.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibPDF/ObjectDerivatives.h b/Userland/Libraries/LibPDF/ObjectDerivatives.h
index c719ef2f27..cdb8dd7ef7 100644
--- a/Userland/Libraries/LibPDF/ObjectDerivatives.h
+++ b/Userland/Libraries/LibPDF/ObjectDerivatives.h
@@ -113,6 +113,9 @@ public:
template<typename... Args>
bool contains(Args&&... keys) const { return (m_map.contains(keys) && ...); }
+ template<typename... Args>
+ bool contains_any_of(Args&&... keys) const { return (m_map.contains(keys) || ...); }
+
ALWAYS_INLINE Optional<Value> get(FlyString const& key) const { return m_map.get(key); }
Value get_value(FlyString const& key) const