Skip to documentation
SLOP

tiny.preserves.AtomClass

Reference tiny.preserves AtomClass

Defined in atom.

The six kinds of atom, in the order Value ranks them: boolean, double, integer, string, byte string and symbol.

API (6)

Fields and members

Public fields and members.

No direct callersNo direct callsatomAtomClass
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/preserves/src/atom.zig:35

zig
/// The six kinds of atom, in the order `Value` ranks them: boolean, double, integer, string, byte/// string and symbol. Code that switches on an atom's kind reads this, from `Value.atomClass` or/// `Atom.class`. `Value.atomClass` returns it for an atom and `null` for any other value. It tags/// the union `Atom`.pub const AtomClass = enum(u8) {    boolean,    double,    signed_integer,    string,    byte_string,    symbol,};

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

zig
pub const AtomClass = atom.AtomClass;

Also reachable as

value.AtomClass.

Audit

Definitions1
Public names3
Members6
Version26.7.0
Revisiondaab053ee433