tiny.preserves.observeObserver
Defined in tiny.preserves.
Returns the second field of an <Observe pattern observer> record with exactly two fields, and null for any other value.
Source
Source: lib/preserves/src/any.zig:319
zig
/// Returns the second field of an `<Observe pattern observer>` record with exactly two fields, and/// `null` for any other value. Code that handles a subscription calls it for the observer of an/// `<Observe pattern observer>` record. The returned value shares its storage with `v`.pub fn observeObserver(v: AnyValue) ?AnyValue { return any_conversions.observeObserver(v);}Source: lib/preserves/src/root.zig:227
zig
pub const observeObserver = any.observeObserver;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |