| 34 | } |
| 35 | |
| 36 | bool Bundle::hasString(const std::string& key) const { |
| 37 | auto entry = this->entries.find(key); |
| 38 | return entry != std::end(this->entries) && entry->second.type == Type::String; |
| 39 | } |
| 40 | |
| 41 | bool Bundle::optBool(const std::string& key, bool& out) const { |
| 42 | auto entry = this->entries.find(key); |