Primitive
atom.getDataField
BETAShort name: getDataField
Version: 1.0.0
System primitive that returns one top-level atom.data field value without requiring full-atom handling in composed verbs.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| atomId | objectId | true | Atom to read from. |
| default | any | false | Optional fallback value returned when the field is missing (or redacted for this caller). |
| fieldName | string | true | Top-level key under atom.data to return. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| exists | boolean | false | True when the caller can read the field and it exists on atom.data; false when missing or redacted. |
| redacted | boolean | false | True when the field exists on the underlying atom but is hidden from this caller (e.g. private field with no grant). False otherwise. |
| value | any | false | Field value when present; otherwise the provided default (or undefined). |
| valueType | string | false | Declared FieldEntry valueType when available; otherwise an inferred runtime type label. |