Skip to documentation
SLOP

tiny.preserves.symbolEql

Reference tiny.preserves symbolEql

Defined in tiny.preserves.

Returns whether the bytes sym_bytes equal the name of the symbol constant s, byte for byte.

No direct callersNo direct callstiny.preservessymbolEql
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/preserves/src/any.zig:264

zig
/// Returns whether the bytes `sym_bytes` equal the name of the symbol constant `s`, byte for byte./// Code that dispatches on symbol bytes calls it against the package's symbol constants, so each/// name is spelled once.pub fn symbolEql(sym_bytes: []const u8, s: Symbol) bool {    return std.mem.eql(u8, sym_bytes, s.name);}

Source: lib/preserves/src/root.zig:214

zig
pub const symbolEql = any.symbolEql;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433