Skip to documentation
SLOP

tiny.preserves.isObserve

Reference tiny.preserves isObserve

Defined in tiny.preserves.

Returns whether v is a record labeled with the symbol Observe that has exactly two fields.

Called byCallsNo direct callerspredicatesisObservetiny.preservesisObserve
Static calls · unresolved targets: 0 · external targets: 0.

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

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433