tiny.preserves.isPatternForm
Defined in tiny.preserves.
Returns whether v is a discard, capture, bind or rest pattern.
Source
Source: lib/preserves/src/any.zig:251
zig
/// Returns whether `v` is a discard, capture, bind or rest pattern. Code that mixes data and/// patterns calls it to tell them apart.pub fn isPatternForm(v: AnyValue) bool { return predicates.isPatternForm(embedded_mod.AnyEmbedded, v);}Source: lib/preserves/src/root.zig:212
zig
pub const isPatternForm = any.isPatternForm;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |