method
View.String
String reads a typed sibling, root or prior value without a type assertion.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
Returns
The declared result.
(string, bool)Full signature
Related types
ViewView is an immutable snapshot of one object's field values. Lookup, Get and String accept direct child names, not dotted paths. Follow nested objects with Get("seo").Get("title"); iterate lists with Get("variants").Elements(). These reads share immutable values without copying maps or slices.