tiny.preserves.isObserve
Defined in tiny.preserves.
Returns whether v is a record labeled with the symbol Observe that has exactly two fields.
Source
Source: lib/preserves/src/any.zig:221
zig
/// Returns whether `v` is a record labeled with the symbol `Observe` that has exactly two fields./// Code that handles subscriptions calls it to recognize an `<Observe pattern observer>` record.pub fn isObserve(v: AnyValue) bool { return predicates.isObserve(embedded_mod.AnyEmbedded, v);}Source: lib/preserves/src/root.zig:207
zig
pub const isObserve = any.isObserve;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |