Skip to content

@celox-sim/celox / matchers / FourStateRef

Interface: FourStateRef

Defined in: packages/celox/src/matchers.ts:54

A wrapper that carries the SharedArrayBuffer + SignalLayout alongside the value, so matchers can inspect the raw 4-state representation.

Usage: const ref = sim.fourStateRef("y"); expect(ref).toBeX();

Properties

__fourStateRef

readonly __fourStateRef: true

Defined in: packages/celox/src/matchers.ts:55


buffer

readonly buffer: SharedArrayBuffer

Defined in: packages/celox/src/matchers.ts:56


layout

readonly layout: SignalLayout

Defined in: packages/celox/src/matchers.ts:57