| 407 | } |
| 408 | |
| 409 | Ref<ValueFunction> Value::getFunctionRef() const noexcept { |
| 410 | if (getType() == ValueType::Function) { |
| 411 | return getUnsafeTypedRefPointer<ValueFunction>(); |
| 412 | } |
| 413 | |
| 414 | return nullptr; |
| 415 | } |
| 416 | |
| 417 | Ref<ValueArray> Value::getArrayRef() const noexcept { |
| 418 | if (getType() == ValueType::Array) { |