| 447 | } |
| 448 | |
| 449 | Ref<ValdiObject> Value::getValdiObject() const noexcept { |
| 450 | if (getType() == ValueType::ValdiObject) { |
| 451 | return getUnsafeTypedRefPointer<ValdiObject>(); |
| 452 | } |
| 453 | |
| 454 | return nullptr; |
| 455 | } |
| 456 | |
| 457 | Ref<StaticString> Value::getStaticStringRef() const noexcept { |
| 458 | if (getType() == ValueType::StaticString) { |