| 423 | } |
| 424 | |
| 425 | Ref<ValueMap> Value::getMapRef() const noexcept { |
| 426 | if (getType() == ValueType::Map) { |
| 427 | return getUnsafeTypedRefPointer<ValueMap>(); |
| 428 | } |
| 429 | |
| 430 | return nullptr; |
| 431 | } |
| 432 | |
| 433 | Ref<ValueTypedObject> Value::getTypedObjectRef() const noexcept { |
| 434 | if (getType() == ValueType::TypedObject) { |