UNPKG

@skillpet/circuit

Version:

Circuit diagram library — render electrical schematics from JSON, with interactive SVG, themes, and Vue/React components

18 lines (17 loc) 631 B
/** * OR / NOR / XOR / XNOR — aligned with Python `logic/logic.py` · `Or`. */ import { Element } from "../element.js"; export declare class Or extends Element { constructor(userParams?: Record<string, unknown> & { inputs?: number; nor?: boolean; xor?: boolean; }); } /** NOR = `Or` with `nor: true`. */ export declare function nor(userParams?: Record<string, unknown>): Or; /** XOR = `Or` with `xor: true`. */ export declare function xor(userParams?: Record<string, unknown>): Or; /** XNOR = `Or` with `nor` and `xor`. */ export declare function xnor(userParams?: Record<string, unknown>): Or;