method
Value.Get
Read an immutable object child without copying its container.
Example
seo := store.Object(store.Values{"title": store.String("Home")})
title, ok := seo.Get("title").StringValue()Arguments
| Argument | Type | Description |
|---|---|---|
name | string | A literal direct-child name; dots do not traverse nested objects. |
Returns
The child value, or Null for a missing key or a non-object.
ValueHow it works
Use Lookup when missing and explicit null must be distinguished.
Full signature
Related types
ValueAn immutable scalar, object, list, or populated document value.