method

View.Lookup

Lookup reads a direct child and reports snapshot membership. During save callbacks, empty scalars in Root, Siblings and an existing Prior object normalize to Null, so membership does not prove the caller submitted that field. Inspect a raw hook's Value argument when omission and explicit null need different normalization. LiveValidationContext retains sparse readable snapshots; its Input view records submitted membership before retained persisted values are combined.

Arguments

ArgumentTypeDescription
namestringThe name value.

Returns

The declared result.

(store.Value, bool)

Full signature

Related types

  • View

    View 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.

  • Value

    An immutable scalar, object, list, or populated document value.